Package com.oracle.bmc.mysql.model
Class CreateBlueGreenDeploymentChannelDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.mysql.model.CreateBlueGreenDeploymentChannelDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class CreateBlueGreenDeploymentChannelDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelReplication channel details for a blue/green deployment.
Note: Objects should always be created or deserialized using theCreateBlueGreenDeploymentChannelDetails.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 theCreateBlueGreenDeploymentChannelDetails.Builder, which maintain a set of all explicitly set fields calledCreateBlueGreenDeploymentChannelDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateBlueGreenDeploymentChannelDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateBlueGreenDeploymentChannelDetails(String sourceUsername, char[] sourcePassword, String applierUsername, SslMode sslMode, CaCertificate sslCaCertificate)Deprecated.CreateBlueGreenDeploymentChannelDetails(String sourceUsername, String sourcePassword, String applierUsername, SslMode sslMode, CaCertificate sslCaCertificate)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CreateBlueGreenDeploymentChannelDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApplierUsername()The username for the replication applier of the target MySQL DB System.StringgetSourcePassword()Deprecated.Use getSourcePassword__AsCharArray() instead.char[]getSourcePassword__AsCharArray()The password for the source DB system user used by the blue/green workflow to configure the replication channel.StringgetSourceUsername()The username on the source DB system used by the blue/green workflow to configure the replication channel.CaCertificategetSslCaCertificate()SslModegetSslMode()The SSL mode of the replication channel created by the blue/green workflow.inthashCode()CreateBlueGreenDeploymentChannelDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateBlueGreenDeploymentChannelDetails
@Deprecated public CreateBlueGreenDeploymentChannelDetails(String sourceUsername, String sourcePassword, String applierUsername, SslMode sslMode, CaCertificate sslCaCertificate)
Deprecated.
-
CreateBlueGreenDeploymentChannelDetails
@Deprecated @ConstructorProperties({"sourceUsername","sourcePassword","applierUsername","sslMode","sslCaCertificate"}) public CreateBlueGreenDeploymentChannelDetails(String sourceUsername, char[] sourcePassword, String applierUsername, SslMode sslMode, CaCertificate sslCaCertificate)
Deprecated.
-
-
Method Detail
-
builder
public static CreateBlueGreenDeploymentChannelDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateBlueGreenDeploymentChannelDetails.Builder toBuilder()
-
getSourceUsername
public String getSourceUsername()
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
- Returns:
- the value
-
getSourcePassword
@Deprecated public String getSourcePassword()
Deprecated.Use getSourcePassword__AsCharArray() instead.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.
- Returns:
- the value
-
getSourcePassword__AsCharArray
public char[] getSourcePassword__AsCharArray()
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.
- Returns:
- the value
-
getApplierUsername
public String getApplierUsername()
The username for the replication applier of the target MySQL DB System.- Returns:
- the value
-
getSslMode
public SslMode getSslMode()
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.
- Returns:
- the value
-
getSslCaCertificate
public CaCertificate getSslCaCertificate()
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-