Class DataGuardGroupMember


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class DataGuardGroupMember
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The member of a Data Guard group.

    Represents either a PRIMARY or a STANDBY Data Guard instance.
    Note: Objects should always be created or deserialized using the DataGuardGroupMember.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 DataGuardGroupMember.Builder, which maintain a set of all explicitly set fields called DataGuardGroupMember.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

      • getDbSystemId

        public String getDbSystemId()
        The OCID of the DB system, Cloud VM cluster or VM cluster.
        Returns:
        the value
      • getDatabaseId

        public String getDatabaseId()
        The OCID of the Database.
        Returns:
        the value
      • getRole

        public DataGuardGroupMember.Role getRole()
        The role of the reporting database in this Data Guard association.
        Returns:
        the value
      • getApplyLag

        public String getApplyLag()
        The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database.

        Example: 1 second

        Returns:
        the value
      • getApplyRate

        public String getApplyRate()
        The rate at which redo logs are synced between the associated databases.

        Example: 102.96 MByte/s

        Returns:
        the value
      • getTransportLag

        public String getTransportLag()
        The rate at which redo logs are transported between the associated databases.

        Example: 1 second

        Returns:
        the value
      • getTransportLagRefresh

        public String getTransportLagRefresh()
        The date and time when last redo transport has been done.
        Returns:
        the value
      • getTransportType

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

        Valid values depend on the specified protectionMode:

        MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION - 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.

        *IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.

        Returns:
        the value
      • getIsActiveDataGuardEnabled

        public Boolean getIsActiveDataGuardEnabled()
        True if active Data Guard is enabled.
        Returns:
        the value
      • getSwitchoverReadinessMessage

        public String getSwitchoverReadinessMessage()
        The message explaining switchover readiness status.

        Example: Address failed checks to avoid extended downtime.

        Returns:
        the value
      • getFailoverReadinessMessage

        public String getFailoverReadinessMessage()
        The message explaining failover readiness status.

        Example: This standby database is not failover ready.

        Returns:
        the value
      • getDataLossExposure

        public String getDataLossExposure()
        The Data loss exposure is the redo transport lag between the primary and standby databases.

        Example: 2 seconds

        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The date and time when the last successful Data Guard refresh occurred.
        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