Class DataGuardGroupMember
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.DataGuardGroupMember
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DataGuardGroupMember extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe 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 theDataGuardGroupMember.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 theDataGuardGroupMember.Builder, which maintain a set of all explicitly set fields calledDataGuardGroupMember.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataGuardGroupMember.Builderstatic classDataGuardGroupMember.FailoverReadinessThe failover readiness status of the Data Guard member.static classDataGuardGroupMember.RoleThe role of the reporting database in this Data Guard association.static classDataGuardGroupMember.SwitchoverReadinessThe switchover readiness status of the Data Guard member.static classDataGuardGroupMember.TransportTypeThe redo transport type to use for this Data Guard association.
-
Constructor Summary
Constructors Constructor Description DataGuardGroupMember(String dbSystemId, String databaseId, DataGuardGroupMember.Role role, String applyLag, String applyRate, String transportLag, String transportLagRefresh, DataGuardGroupMember.TransportType transportType, Boolean isActiveDataGuardEnabled, DataGuardGroupMember.SwitchoverReadiness switchoverReadiness, String switchoverReadinessMessage, DataGuardGroupMember.FailoverReadiness failoverReadiness, String failoverReadinessMessage, String dataLossExposure, Date timeUpdated)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataGuardGroupMember.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApplyLag()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.StringgetApplyRate()The rate at which redo logs are synced between the associated databases.StringgetDatabaseId()The OCID of the Database.StringgetDataLossExposure()The Data loss exposure is the redo transport lag between the primary and standby databases.StringgetDbSystemId()The OCID of the DB system, Cloud VM cluster or VM cluster.DataGuardGroupMember.FailoverReadinessgetFailoverReadiness()The failover readiness status of the Data Guard member.StringgetFailoverReadinessMessage()The message explaining failover readiness status.BooleangetIsActiveDataGuardEnabled()True if active Data Guard is enabled.DataGuardGroupMember.RolegetRole()The role of the reporting database in this Data Guard association.DataGuardGroupMember.SwitchoverReadinessgetSwitchoverReadiness()The switchover readiness status of the Data Guard member.StringgetSwitchoverReadinessMessage()The message explaining switchover readiness status.DategetTimeUpdated()The date and time when the last successful Data Guard refresh occurred.StringgetTransportLag()The rate at which redo logs are transported between the associated databases.StringgetTransportLagRefresh()The date and time when last redo transport has been done.DataGuardGroupMember.TransportTypegetTransportType()The redo transport type to use for this Data Guard association.inthashCode()DataGuardGroupMember.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DataGuardGroupMember
@Deprecated @ConstructorProperties({"dbSystemId","databaseId","role","applyLag","applyRate","transportLag","transportLagRefresh","transportType","isActiveDataGuardEnabled","switchoverReadiness","switchoverReadinessMessage","failoverReadiness","failoverReadinessMessage","dataLossExposure","timeUpdated"}) public DataGuardGroupMember(String dbSystemId, String databaseId, DataGuardGroupMember.Role role, String applyLag, String applyRate, String transportLag, String transportLagRefresh, DataGuardGroupMember.TransportType transportType, Boolean isActiveDataGuardEnabled, DataGuardGroupMember.SwitchoverReadiness switchoverReadiness, String switchoverReadinessMessage, DataGuardGroupMember.FailoverReadiness failoverReadiness, String failoverReadinessMessage, String dataLossExposure, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static DataGuardGroupMember.Builder builder()
Create a new builder.
-
toBuilder
public DataGuardGroupMember.Builder toBuilder()
-
getDbSystemId
public String getDbSystemId()
The OCID of the DB system, Cloud VM cluster or VM cluster.- 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
-
getSwitchoverReadiness
public DataGuardGroupMember.SwitchoverReadiness getSwitchoverReadiness()
The switchover readiness status of the Data Guard member.- Returns:
- the value
-
getSwitchoverReadinessMessage
public String getSwitchoverReadinessMessage()
The message explaining switchover readiness status.Example: Address failed checks to avoid extended downtime.
- Returns:
- the value
-
getFailoverReadiness
public DataGuardGroupMember.FailoverReadiness getFailoverReadiness()
The failover readiness status of the Data Guard member.- 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:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-