Package com.oracle.bmc.mysql.model
Class CreateChannelTargetFromDbSystemDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.mysql.model.CreateChannelTargetDetails
- 
- com.oracle.bmc.mysql.model.CreateChannelTargetFromDbSystemDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class CreateChannelTargetFromDbSystemDetails extends CreateChannelTargetDetailsParameters detailing how to provision the target endpoint that is a DB System.
 Note: Objects should always be created or deserialized using theCreateChannelTargetFromDbSystemDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateChannelTargetFromDbSystemDetails.Builder, which maintain a set of all explicitly set fields calledCreateChannelTargetFromDbSystemDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCreateChannelTargetFromDbSystemDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description CreateChannelTargetFromDbSystemDetails(String dbSystemId, String channelName, String applierUsername, List<ChannelFilter> filters, ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling, Integer delayInSeconds)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateChannelTargetFromDbSystemDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApplierUsername()The username for the replication applier of the target MySQL DB System.StringgetChannelName()The case-insensitive name that identifies the replication channel.StringgetDbSystemId()The OCID of the target DB System.IntegergetDelayInSeconds()Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.List<ChannelFilter>getFilters()Replication filter rules to be applied at the DB System Channel target.ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandlinggetTablesWithoutPrimaryKeyHandling()Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.inthashCode()CreateChannelTargetFromDbSystemDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
CreateChannelTargetFromDbSystemDetails@Deprecated public CreateChannelTargetFromDbSystemDetails(String dbSystemId, String channelName, String applierUsername, List<ChannelFilter> filters, ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling, Integer delayInSeconds) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreateChannelTargetFromDbSystemDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CreateChannelTargetFromDbSystemDetails.Builder toBuilder() 
 - 
getDbSystemIdpublic String getDbSystemId() The OCID of the target DB System.- Returns:
- the value
 
 - 
getChannelNamepublic String getChannelName() The case-insensitive name that identifies the replication channel.Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System. - Returns:
- the value
 
 - 
getApplierUsernamepublic String getApplierUsername() The username for the replication applier of the target MySQL DB System.- Returns:
- the value
 
 - 
getFilterspublic List<ChannelFilter> getFilters() Replication filter rules to be applied at the DB System Channel target.- Returns:
- the value
 
 - 
getTablesWithoutPrimaryKeyHandlingpublic ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling getTablesWithoutPrimaryKeyHandling() Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.The default value is set to ALLOW. - Returns:
- the value
 
 - 
getDelayInSecondspublic Integer getDelayInSeconds() Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- CreateChannelTargetDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- CreateChannelTargetDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- CreateChannelTargetDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- CreateChannelTargetDetails
 
 
- 
 
-