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