Package com.oracle.bmc.mysql.model
Class CreateBlueGreenDeploymentChannelDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.CreateBlueGreenDeploymentChannelDetails.Builder
-
- Enclosing class:
- CreateBlueGreenDeploymentChannelDetails
public static class CreateBlueGreenDeploymentChannelDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
sourceUsername
public CreateBlueGreenDeploymentChannelDetails.Builder sourceUsername(String sourceUsername)
The username on the source DB system used by the blue/green workflow to configure the replication channel.The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
- Parameters:
sourceUsername- the value to set- Returns:
- this builder
-
sourcePassword
public CreateBlueGreenDeploymentChannelDetails.Builder sourcePassword(char[] sourcePassword)
The password for the source DB system user used by the blue/green workflow to configure the replication channel.The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- Parameters:
sourcePassword- the value to set- Returns:
- this builder
-
sourcePassword
public CreateBlueGreenDeploymentChannelDetails.Builder sourcePassword(String sourcePassword)
-
applierUsername
public CreateBlueGreenDeploymentChannelDetails.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
-
sslMode
public CreateBlueGreenDeploymentChannelDetails.Builder sslMode(SslMode sslMode)
The SSL mode of the replication channel created by the blue/green workflow.VERIFY_CA and VERIFY_IDENTITY require sslCaCertificate. REQUIRED and DISABLED must not include sslCaCertificate.
- Parameters:
sslMode- the value to set- Returns:
- this builder
-
sslCaCertificate
public CreateBlueGreenDeploymentChannelDetails.Builder sslCaCertificate(CaCertificate sslCaCertificate)
-
build
public CreateBlueGreenDeploymentChannelDetails build()
-
copy
public CreateBlueGreenDeploymentChannelDetails.Builder copy(CreateBlueGreenDeploymentChannelDetails model)
-
-