Package com.oracle.bmc.mysql.model
Class UpdateChannelTargetFromDbSystemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.mysql.model.UpdateChannelTargetDetails
-
- com.oracle.bmc.mysql.model.UpdateChannelTargetFromDbSystemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class UpdateChannelTargetFromDbSystemDetails extends UpdateChannelTargetDetails
Parameters detailing how to provision the target endpoint that is a DB System.
Note: Objects should always be created or deserialized using theUpdateChannelTargetFromDbSystemDetails.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 theUpdateChannelTargetFromDbSystemDetails.Builder
, which maintain a set of all explicitly set fields calledUpdateChannelTargetFromDbSystemDetails.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 Summary
Nested Classes Modifier and Type Class Description static class
UpdateChannelTargetFromDbSystemDetails.Builder
-
Constructor Summary
Constructors Constructor Description UpdateChannelTargetFromDbSystemDetails(String channelName, String applierUsername, List<ChannelFilter> filters, ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling, Integer delayInSeconds)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateChannelTargetFromDbSystemDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getApplierUsername()
The username for the replication applier of the target MySQL DB System.String
getChannelName()
The case-insensitive name that identifies the replication channel.Integer
getDelayInSeconds()
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.TablesWithoutPrimaryKeyHandling
getTablesWithoutPrimaryKeyHandling()
Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.int
hashCode()
UpdateChannelTargetFromDbSystemDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateChannelTargetFromDbSystemDetails
@Deprecated public UpdateChannelTargetFromDbSystemDetails(String channelName, String applierUsername, List<ChannelFilter> filters, ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling, Integer delayInSeconds)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateChannelTargetFromDbSystemDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateChannelTargetFromDbSystemDetails.Builder toBuilder()
-
getChannelName
public 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
-
getApplierUsername
public String getApplierUsername()
The username for the replication applier of the target MySQL DB System.- Returns:
- the value
-
getFilters
public List<ChannelFilter> getFilters()
Replication filter rules to be applied at the DB System Channel target.- Returns:
- the value
-
getTablesWithoutPrimaryKeyHandling
public ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling getTablesWithoutPrimaryKeyHandling()
Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.- Returns:
- the value
-
getDelayInSeconds
public Integer getDelayInSeconds()
Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classUpdateChannelTargetDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classUpdateChannelTargetDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classUpdateChannelTargetDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUpdateChannelTargetDetails
-
-