public static class ChannelTargetDbSystem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ChannelTargetDbSystem.Builder |
applierUsername(String applierUsername)
The username for the replication applier of the target MySQL DB System.
|
ChannelTargetDbSystem |
build() |
ChannelTargetDbSystem.Builder |
channelName(String channelName)
The case-insensitive name that identifies the replication channel.
|
ChannelTargetDbSystem.Builder |
copy(ChannelTargetDbSystem model) |
ChannelTargetDbSystem.Builder |
dbSystemId(String dbSystemId)
The OCID of the source DB System.
|
ChannelTargetDbSystem.Builder |
delayInSeconds(Integer delayInSeconds)
Specifies the amount of time, in seconds, that the channel waits before applying a
transaction received from the source.
|
ChannelTargetDbSystem.Builder |
filters(List<ChannelFilter> filters)
Replication filter rules to be applied at the DB System Channel target.
|
ChannelTargetDbSystem.Builder |
tablesWithoutPrimaryKeyHandling(ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling)
Specifies how a replication channel handles the creation and alteration of tables that do
not have a primary key.
|
public ChannelTargetDbSystem.Builder dbSystemId(String dbSystemId)
The OCID of the source DB System.
dbSystemId
- the value to setpublic ChannelTargetDbSystem.Builder channelName(String channelName)
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.
channelName
- the value to setpublic ChannelTargetDbSystem.Builder applierUsername(String applierUsername)
The username for the replication applier of the target MySQL DB System.
applierUsername
- the value to setpublic ChannelTargetDbSystem.Builder filters(List<ChannelFilter> filters)
Replication filter rules to be applied at the DB System Channel target.
filters
- the value to setpublic ChannelTargetDbSystem.Builder tablesWithoutPrimaryKeyHandling(ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling)
Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
tablesWithoutPrimaryKeyHandling
- the value to setpublic ChannelTargetDbSystem.Builder delayInSeconds(Integer delayInSeconds)
Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
delayInSeconds
- the value to setpublic ChannelTargetDbSystem build()
public ChannelTargetDbSystem.Builder copy(ChannelTargetDbSystem model)
Copyright © 2016–2024. All rights reserved.