@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DataGuardAssociation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
DataGuardAssociation.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 DataGuardAssociation.Builder
, which maintain a
set of all explicitly set fields called DataGuardAssociation.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
).Modifier and Type | Class and Description |
---|---|
static class |
DataGuardAssociation.Builder |
static class |
DataGuardAssociation.LifecycleState
The current state of the Data Guard association.
|
static class |
DataGuardAssociation.PeerRole
The role of the peer database in this Data Guard association.
|
static class |
DataGuardAssociation.ProtectionMode
The protection mode of this Data Guard association.
|
static class |
DataGuardAssociation.Role
The role of the reporting database in this Data Guard association.
|
static class |
DataGuardAssociation.TransportType
The redo transport type used by this Data Guard association.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DataGuardAssociation(String id,
String databaseId,
DataGuardAssociation.Role role,
DataGuardAssociation.LifecycleState lifecycleState,
String lifecycleDetails,
String peerDbSystemId,
String peerDbHomeId,
String peerDatabaseId,
String peerDataGuardAssociationId,
DataGuardAssociation.PeerRole peerRole,
String applyLag,
String applyRate,
DataGuardAssociation.ProtectionMode protectionMode,
DataGuardAssociation.TransportType transportType,
Date timeCreated,
Boolean isActiveDataGuardEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DataGuardAssociation.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
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.
|
String |
getApplyRate()
The rate at which redo logs are synced between the associated databases.
|
String |
getDatabaseId()
The OCID of the
reporting database.
|
String |
getId()
The OCID of the
Data Guard association.
|
Boolean |
getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.
|
String |
getLifecycleDetails()
Additional information about the current lifecycleState, if available.
|
DataGuardAssociation.LifecycleState |
getLifecycleState()
The current state of the Data Guard association.
|
String |
getPeerDatabaseId()
The OCID of the
associated peer database.
|
String |
getPeerDataGuardAssociationId()
The OCID of the
peer database’s Data Guard association.
|
String |
getPeerDbHomeId()
The OCID of the
Database Home containing the associated peer database.
|
String |
getPeerDbSystemId()
The OCID of the DB
system containing the associated peer database.
|
DataGuardAssociation.PeerRole |
getPeerRole()
The role of the peer database in this Data Guard association.
|
DataGuardAssociation.ProtectionMode |
getProtectionMode()
The protection mode of this Data Guard association.
|
DataGuardAssociation.Role |
getRole()
The role of the reporting database in this Data Guard association.
|
Date |
getTimeCreated()
The date and time the Data Guard association was created.
|
DataGuardAssociation.TransportType |
getTransportType()
The redo transport type used by this Data Guard association.
|
int |
hashCode() |
DataGuardAssociation.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","databaseId","role","lifecycleState","lifecycleDetails","peerDbSystemId","peerDbHomeId","peerDatabaseId","peerDataGuardAssociationId","peerRole","applyLag","applyRate","protectionMode","transportType","timeCreated","isActiveDataGuardEnabled"}) public DataGuardAssociation(String id, String databaseId, DataGuardAssociation.Role role, DataGuardAssociation.LifecycleState lifecycleState, String lifecycleDetails, String peerDbSystemId, String peerDbHomeId, String peerDatabaseId, String peerDataGuardAssociationId, DataGuardAssociation.PeerRole peerRole, String applyLag, String applyRate, DataGuardAssociation.ProtectionMode protectionMode, DataGuardAssociation.TransportType transportType, Date timeCreated, Boolean isActiveDataGuardEnabled)
public static DataGuardAssociation.Builder builder()
Create a new builder.
public DataGuardAssociation.Builder toBuilder()
public DataGuardAssociation.Role getRole()
The role of the reporting database in this Data Guard association.
public DataGuardAssociation.LifecycleState getLifecycleState()
The current state of the Data Guard association.
public String getLifecycleDetails()
Additional information about the current lifecycleState, if available.
public String getPeerDbSystemId()
The OCID of the DB system containing the associated peer database.
public String getPeerDbHomeId()
The OCID of the Database Home containing the associated peer database.
public String getPeerDatabaseId()
The OCID of the associated peer database.
public String getPeerDataGuardAssociationId()
The OCID of the peer database’s Data Guard association.
public DataGuardAssociation.PeerRole getPeerRole()
The role of the peer database in this Data Guard association.
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: 9 seconds
public String getApplyRate()
The rate at which redo logs are synced between the associated databases.
Example: 180 Mb per second
public DataGuardAssociation.ProtectionMode getProtectionMode()
The protection mode of this Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
public DataGuardAssociation.TransportType getTransportType()
The redo transport type used by this Data Guard association. For more information, see Redo Transport Services in the Oracle Data Guard documentation.
public Date getTimeCreated()
The date and time the Data Guard association was created.
public Boolean getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.