Class UpdateChannelSourceFromMysqlDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190415")
    public final class UpdateChannelSourceFromMysqlDetails
    extends UpdateChannelSourceDetails
    Parameters detailing how to provision the source endpoint that is a MySQL Server.

    Typically a MySQL Server that is not managed by the MySQL Database Service.
    Note: Objects should always be created or deserialized using the UpdateChannelSourceFromMysqlDetails.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 UpdateChannelSourceFromMysqlDetails.Builder, which maintain a set of all explicitly set fields called UpdateChannelSourceFromMysqlDetails.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).

    • Method Detail

      • getHostname

        public String getHostname()
        The network address of the MySQL instance.
        Returns:
        the value
      • getPort

        public Integer getPort()
        The port the source MySQL instance listens on.
        Returns:
        the value
      • getUsername

        public String getUsername()
        The name of the replication user on the source MySQL instance.

        The username has a maximum length of 96 characters. For more information, please see the MySQL documentation

        Returns:
        the value
      • getPassword

        @Deprecated
        public String getPassword()
        Deprecated.
        Use getPassword__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
      • getPassword__AsCharArray

        public char[] getPassword__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
      • getSslCaCertificate

        public CaCertificate getSslCaCertificate()
      • getMustUseIpv6OnDualStack

        public Boolean getMustUseIpv6OnDualStack()
        Whether the connection of the channel will be requested using the IPv6 address of the dual stack DB system or not.

        Default: False.

        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class UpdateChannelSourceDetails
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation