@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class ChannelTargetDbSystem extends ChannelTarget
Core properties of a DB System Channel target.
Note: Objects should always be created or deserialized using the ChannelTargetDbSystem.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 the ChannelTargetDbSystem.Builder
, which maintain a
set of all explicitly set fields called ChannelTargetDbSystem.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
ChannelTargetDbSystem.Builder |
static class |
ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling
Specifies how a replication channel handles the creation and alteration of tables that do not
have a primary key.
|
ChannelTarget.TargetType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ChannelTargetDbSystem(String dbSystemId,
String channelName,
String applierUsername,
List<ChannelFilter> filters,
ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling,
Integer delayInSeconds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ChannelTargetDbSystem.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.
|
String |
getDbSystemId()
The OCID of the source DB System.
|
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() |
ChannelTargetDbSystem.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ChannelTargetDbSystem(String dbSystemId, String channelName, String applierUsername, List<ChannelFilter> filters, ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling, Integer delayInSeconds)
public static ChannelTargetDbSystem.Builder builder()
Create a new builder.
public ChannelTargetDbSystem.Builder toBuilder()
public String getDbSystemId()
The OCID of the source DB System.
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.
public String getApplierUsername()
The username for the replication applier of the target MySQL DB System.
public List<ChannelFilter> getFilters()
Replication filter rules to be applied at the DB System Channel target.
public ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling getTablesWithoutPrimaryKeyHandling()
Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
public Integer getDelayInSeconds()
Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
public String toString()
toString
in class ChannelTarget
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ChannelTarget
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ChannelTarget
public int hashCode()
hashCode
in class ChannelTarget
Copyright © 2016–2024. All rights reserved.