Class CreateDbSystemSourceFromDbSystemChannelDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190415")
    public final class CreateDbSystemSourceFromDbSystemChannelDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Properties to setup a replication channel with the source (cloned) DB system.
    Note: Objects should always be created or deserialized using the CreateDbSystemSourceFromDbSystemChannelDetails.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 CreateDbSystemSourceFromDbSystemChannelDetails.Builder, which maintain a set of all explicitly set fields called CreateDbSystemSourceFromDbSystemChannelDetails.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

      • CreateDbSystemSourceFromDbSystemChannelDetails

        @Deprecated
        public CreateDbSystemSourceFromDbSystemChannelDetails​(String sourceUsername,
                                                              String sourcePassword,
                                                              SslMode sslMode,
                                                              CaCertificate sslCaCertificate,
                                                              String applierUsername)
        Deprecated.
      • CreateDbSystemSourceFromDbSystemChannelDetails

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

      • getSourceUsername

        public String getSourceUsername()
        The name of the replication user on the source DB system.

        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 replication user.

        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 replication user.

        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
      • getSslMode

        public SslMode getSslMode()
        The SSL mode of the Channel.
        Returns:
        the value
      • getSslCaCertificate

        public CaCertificate getSslCaCertificate()
      • getApplierUsername

        public String getApplierUsername()
        The username for the replication applier of the created MySQL DB System.
        Returns:
        the value
      • 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