Class UpdateDataGuardAssociationDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class UpdateDataGuardAssociationDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The configuration details for updating a Data Guard association for a database.

    *Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
    Note: Objects should always be created or deserialized using the UpdateDataGuardAssociationDetails.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 UpdateDataGuardAssociationDetails.Builder, which maintain a set of all explicitly set fields called UpdateDataGuardAssociationDetails.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

      • getDatabaseAdminPassword

        public String getDatabaseAdminPassword()
        A strong password for the ‘SYS’, ‘SYSTEM’, and ‘PDB Admin’ users to apply during standby creation.

        The password must contain no fewer than nine characters and include:

        At least two uppercase characters.

        At least two lowercase characters.

        At least two numeric characters.

        At least two special characters. Valid special characters include "_", "#", and "-" only.

        *The password MUST be the same as the primary admin password.**

        Returns:
        the value
      • getTransportType

        public UpdateDataGuardAssociationDetails.TransportType getTransportType()
        The redo transport type to use for this Data Guard association.

        Valid values depend on the specified ‘protectionMode’: * MAXIMUM_AVAILABILITY - Use SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - Use ASYNC * MAXIMUM_PROTECTION - Use SYNC

        For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.

        Returns:
        the value
      • getIsActiveDataGuardEnabled

        public Boolean getIsActiveDataGuardEnabled()
        True if active Data Guard is enabled.

        Update this parameter to change the Data Guard setting.

        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