Package com.oracle.bmc.mysql.model
Class ChannelTargetDbSystem.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.ChannelTargetDbSystem.Builder
-
- Enclosing class:
- ChannelTargetDbSystem
public static class ChannelTargetDbSystem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelTargetDbSystem.BuilderapplierUsername(String applierUsername)The username for the replication applier of the target MySQL DB System.ChannelTargetDbSystembuild()ChannelTargetDbSystem.BuilderchannelName(String channelName)The case-insensitive name that identifies the replication channel.ChannelTargetDbSystem.Buildercopy(ChannelTargetDbSystem model)ChannelTargetDbSystem.BuilderdbSystemId(String dbSystemId)The OCID of the source DB System.ChannelTargetDbSystem.BuilderdelayInSeconds(Integer delayInSeconds)Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.ChannelTargetDbSystem.Builderfilters(List<ChannelFilter> filters)Replication filter rules to be applied at the DB System Channel target.ChannelTargetDbSystem.BuildertablesWithoutPrimaryKeyHandling(ChannelTargetDbSystem.TablesWithoutPrimaryKeyHandling tablesWithoutPrimaryKeyHandling)Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
-
-
-
Method Detail
-
dbSystemId
public ChannelTargetDbSystem.Builder dbSystemId(String dbSystemId)
The OCID of the source DB System.- Parameters:
dbSystemId- the value to set- Returns:
- this builder
-
channelName
public 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.
- Parameters:
channelName- the value to set- Returns:
- this builder
-
applierUsername
public ChannelTargetDbSystem.Builder applierUsername(String applierUsername)
The username for the replication applier of the target MySQL DB System.- Parameters:
applierUsername- the value to set- Returns:
- this builder
-
filters
public ChannelTargetDbSystem.Builder filters(List<ChannelFilter> filters)
Replication filter rules to be applied at the DB System Channel target.- Parameters:
filters- the value to set- Returns:
- this builder
-
tablesWithoutPrimaryKeyHandling
public 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.- Parameters:
tablesWithoutPrimaryKeyHandling- the value to set- Returns:
- this builder
-
delayInSeconds
public ChannelTargetDbSystem.Builder delayInSeconds(Integer delayInSeconds)
Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.- Parameters:
delayInSeconds- the value to set- Returns:
- this builder
-
build
public ChannelTargetDbSystem build()
-
copy
public ChannelTargetDbSystem.Builder copy(ChannelTargetDbSystem model)
-
-