Class CreateBlueGreenDeploymentChannelDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190415")
    public final class CreateBlueGreenDeploymentChannelDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Replication channel details for a blue/green deployment.
    Note: Objects should always be created or deserialized using the CreateBlueGreenDeploymentChannelDetails.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 the CreateBlueGreenDeploymentChannelDetails.Builder, which maintain a set of all explicitly set fields called CreateBlueGreenDeploymentChannelDetails.Builder.__explicitlySet__. The hashCode() and equals(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).
    • Constructor Detail

      • CreateBlueGreenDeploymentChannelDetails

        @Deprecated
        @ConstructorProperties({"sourceUsername","sourcePassword","applierUsername","sslMode","sslCaCertificate"})
        public CreateBlueGreenDeploymentChannelDetails​(String sourceUsername,
                                                       char[] sourcePassword,
                                                       String applierUsername,
                                                       SslMode sslMode,
                                                       CaCertificate sslCaCertificate)
        Deprecated.
    • Method Detail

      • 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:
        toString in class com.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:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel