@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousContainerDatabaseDataguardAssociation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The properties that define Autonomous Data Guard association between two different Autonomous
Container Databases.
Note: Objects should always be created or deserialized using the AutonomousContainerDatabaseDataguardAssociation.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 AutonomousContainerDatabaseDataguardAssociation.Builder
, which maintain a
set of all explicitly set fields called AutonomousContainerDatabaseDataguardAssociation.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 |
AutonomousContainerDatabaseDataguardAssociation.Builder |
static class |
AutonomousContainerDatabaseDataguardAssociation.LifecycleState
The current state of Autonomous Data Guard.
|
static class |
AutonomousContainerDatabaseDataguardAssociation.PeerLifecycleState
The current state of the Autonomous Container Database.
|
static class |
AutonomousContainerDatabaseDataguardAssociation.PeerRole
The Data Guard role of the Autonomous Container Database or Autonomous Database, if
Autonomous Data Guard is enabled.
|
static class |
AutonomousContainerDatabaseDataguardAssociation.ProtectionMode
The protection mode of this Autonomous Data Guard association.
|
static class |
AutonomousContainerDatabaseDataguardAssociation.Role
The Data Guard role of the Autonomous Container Database or Autonomous Database, if
Autonomous Data Guard is enabled.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AutonomousContainerDatabaseDataguardAssociation(String id,
String autonomousContainerDatabaseId,
AutonomousContainerDatabaseDataguardAssociation.Role role,
AutonomousContainerDatabaseDataguardAssociation.LifecycleState lifecycleState,
String lifecycleDetails,
String peerAutonomousContainerDatabaseDataguardAssociationId,
String peerAutonomousContainerDatabaseId,
AutonomousContainerDatabaseDataguardAssociation.PeerRole peerRole,
AutonomousContainerDatabaseDataguardAssociation.PeerLifecycleState peerLifecycleState,
AutonomousContainerDatabaseDataguardAssociation.ProtectionMode protectionMode,
Integer fastStartFailOverLagLimitInSeconds,
String applyLag,
String applyRate,
Boolean isAutomaticFailoverEnabled,
String transportLag,
Date timeLastSynced,
Date timeCreated,
Date timeLastRoleChanged)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutonomousContainerDatabaseDataguardAssociation.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getApplyLag()
The lag time between updates to the primary Autonomous Container Database and application of
the redo data on the standby Autonomous Container Database, as computed by the reporting
database.
|
String |
getApplyRate()
The rate at which redo logs are synchronized between the associated Autonomous Container
Databases.
|
String |
getAutonomousContainerDatabaseId()
The OCID of the
Autonomous Container Database that has a relationship with the peer Autonomous Container
Database.
|
Integer |
getFastStartFailOverLagLimitInSeconds()
The lag time for my preference based on data loss tolerance in seconds.
|
String |
getId()
The OCID of the Autonomous Data Guard created for a given Autonomous Container Database.
|
Boolean |
getIsAutomaticFailoverEnabled()
Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard
Association
|
String |
getLifecycleDetails()
Additional information about the current lifecycleState, if available.
|
AutonomousContainerDatabaseDataguardAssociation.LifecycleState |
getLifecycleState()
The current state of Autonomous Data Guard.
|
String |
getPeerAutonomousContainerDatabaseDataguardAssociationId()
The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
|
String |
getPeerAutonomousContainerDatabaseId()
The OCID of the
peer Autonomous Container Database.
|
AutonomousContainerDatabaseDataguardAssociation.PeerLifecycleState |
getPeerLifecycleState()
The current state of the Autonomous Container Database.
|
AutonomousContainerDatabaseDataguardAssociation.PeerRole |
getPeerRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if
Autonomous Data Guard is enabled.
|
AutonomousContainerDatabaseDataguardAssociation.ProtectionMode |
getProtectionMode()
The protection mode of this Autonomous Data Guard association.
|
AutonomousContainerDatabaseDataguardAssociation.Role |
getRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if
Autonomous Data Guard is enabled.
|
Date |
getTimeCreated()
The date and time the Autonomous DataGuard association was created.
|
Date |
getTimeLastRoleChanged()
The date and time when the last role change action happened.
|
Date |
getTimeLastSynced()
The date and time of the last update to the apply lag, apply rate, and transport lag values.
|
String |
getTransportLag()
The approximate number of seconds of redo data not yet available on the standby Autonomous
Container Database, as computed by the reporting database.
|
int |
hashCode() |
AutonomousContainerDatabaseDataguardAssociation.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","autonomousContainerDatabaseId","role","lifecycleState","lifecycleDetails","peerAutonomousContainerDatabaseDataguardAssociationId","peerAutonomousContainerDatabaseId","peerRole","peerLifecycleState","protectionMode","fastStartFailOverLagLimitInSeconds","applyLag","applyRate","isAutomaticFailoverEnabled","transportLag","timeLastSynced","timeCreated","timeLastRoleChanged"}) public AutonomousContainerDatabaseDataguardAssociation(String id, String autonomousContainerDatabaseId, AutonomousContainerDatabaseDataguardAssociation.Role role, AutonomousContainerDatabaseDataguardAssociation.LifecycleState lifecycleState, String lifecycleDetails, String peerAutonomousContainerDatabaseDataguardAssociationId, String peerAutonomousContainerDatabaseId, AutonomousContainerDatabaseDataguardAssociation.PeerRole peerRole, AutonomousContainerDatabaseDataguardAssociation.PeerLifecycleState peerLifecycleState, AutonomousContainerDatabaseDataguardAssociation.ProtectionMode protectionMode, Integer fastStartFailOverLagLimitInSeconds, String applyLag, String applyRate, Boolean isAutomaticFailoverEnabled, String transportLag, Date timeLastSynced, Date timeCreated, Date timeLastRoleChanged)
public static AutonomousContainerDatabaseDataguardAssociation.Builder builder()
Create a new builder.
public AutonomousContainerDatabaseDataguardAssociation.Builder toBuilder()
public String getId()
The OCID of the Autonomous Data Guard created for a given Autonomous Container Database.
public String getAutonomousContainerDatabaseId()
The OCID of the Autonomous Container Database that has a relationship with the peer Autonomous Container Database. Used only by Autonomous Database on Dedicated Exadata Infrastructure.
public AutonomousContainerDatabaseDataguardAssociation.Role getRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
public AutonomousContainerDatabaseDataguardAssociation.LifecycleState getLifecycleState()
The current state of Autonomous Data Guard.
public String getLifecycleDetails()
Additional information about the current lifecycleState, if available.
public String getPeerAutonomousContainerDatabaseDataguardAssociationId()
The OCID of the peer Autonomous Container Database-Autonomous Data Guard association.
public String getPeerAutonomousContainerDatabaseId()
The OCID of the peer Autonomous Container Database.
public AutonomousContainerDatabaseDataguardAssociation.PeerRole getPeerRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
public AutonomousContainerDatabaseDataguardAssociation.PeerLifecycleState getPeerLifecycleState()
The current state of the Autonomous Container Database.
public AutonomousContainerDatabaseDataguardAssociation.ProtectionMode getProtectionMode()
The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
public Integer getFastStartFailOverLagLimitInSeconds()
The lag time for my preference based on data loss tolerance in seconds.
public String getApplyLag()
The lag time between updates to the primary Autonomous Container Database and application of the redo data on the standby Autonomous Container Database, as computed by the reporting database.
Example: 9 seconds
public String getApplyRate()
The rate at which redo logs are synchronized between the associated Autonomous Container Databases.
Example: 180 Mb per second
public Boolean getIsAutomaticFailoverEnabled()
Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association
public String getTransportLag()
The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database.
Example: 7 seconds
public Date getTimeLastSynced()
The date and time of the last update to the apply lag, apply rate, and transport lag values.
public Date getTimeCreated()
The date and time the Autonomous DataGuard association was created.
public Date getTimeLastRoleChanged()
The date and time when the last role change action happened.
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–2024. All rights reserved.