Class UpdateMysqlConnectionDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20230518")
    public final class UpdateMysqlConnectionDetails
    extends UpdateConnectionDetails
    The information to update a MySQL Connection.
    Note: Objects should always be created or deserialized using the UpdateMysqlConnectionDetails.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 UpdateMysqlConnectionDetails.Builder, which maintain a set of all explicitly set fields called UpdateMysqlConnectionDetails.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

      • getHost

        public String getHost()
        The IP Address of the host.
        Returns:
        the value
      • getPort

        public Integer getPort()
        The port to be used for the connection.
        Returns:
        the value
      • getDatabaseName

        public String getDatabaseName()
        The name of the database being referenced.
        Returns:
        the value
      • getSslCa

        public String getSslCa()
        Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
        Returns:
        the value
      • getSslCrl

        public String getSslCrl()
        Certificates revoked by certificate authorities (CA).

        Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.

        Returns:
        the value
      • getSslCert

        public String getSslCert()
        Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
        Returns:
        the value
      • getSslKey

        public String getSslKey()
        Client Key - The client-key.pem containing the client private key (for 2-way SSL).
        Returns:
        the value
      • getAdditionalAttributes

        public List<NameValuePair> getAdditionalAttributes()
        An array of name-value pair attribute entries.
        Returns:
        the value
      • getDbSystemId

        public String getDbSystemId()
        The OCID of the database system being referenced.
        Returns:
        the value
      • toString

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