@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabaseDataguardAssociation extends Object
The properties that define dataguard association between two different Autonomous Databases. Note that Autonomous Databases inherit DataGuard association from parent Autonomous Container Database. No actions can be taken on AutonomousDatabaseDataguardAssociation, usage is strictly informational.
AutonomousDatabaseDataguardAssociation.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 AutonomousDatabaseDataguardAssociation.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
AutonomousDatabaseDataguardAssociation.Builder |
static class |
AutonomousDatabaseDataguardAssociation.LifecycleState
The current state of Autonomous Data Guard.
|
static class |
AutonomousDatabaseDataguardAssociation.PeerAutonomousDatabaseLifeCycleState
The current state of Autonomous Data Guard.
|
static class |
AutonomousDatabaseDataguardAssociation.PeerRole
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
|
static class |
AutonomousDatabaseDataguardAssociation.ProtectionMode
The protection mode of this Data Guard association.
|
static class |
AutonomousDatabaseDataguardAssociation.Role
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
|
Constructor and Description |
---|
AutonomousDatabaseDataguardAssociation(String id,
String autonomousDatabaseId,
AutonomousDatabaseDataguardAssociation.Role role,
AutonomousDatabaseDataguardAssociation.LifecycleState lifecycleState,
String lifecycleDetails,
AutonomousDatabaseDataguardAssociation.PeerRole peerRole,
String peerAutonomousDatabaseId,
AutonomousDatabaseDataguardAssociation.PeerAutonomousDatabaseLifeCycleState peerAutonomousDatabaseLifeCycleState,
AutonomousDatabaseDataguardAssociation.ProtectionMode protectionMode,
String applyLag,
String applyRate,
Boolean isAutomaticFailoverEnabled,
String transportLag,
Date timeLastSynced,
Date timeCreated,
Date timeLastRoleChanged)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutonomousDatabaseDataguardAssociation.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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 |
getAutonomousDatabaseId()
The OCID of the Autonomous Database that has a relationship with the peer Autonomous Database.
|
String |
getId()
The OCID of the Autonomous Dataguard created for Autonomous Container Database where given Autonomous Database resides in.
|
Boolean |
getIsAutomaticFailoverEnabled()
Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association
|
String |
getLifecycleDetails()
Additional information about the current lifecycleState, if available.
|
AutonomousDatabaseDataguardAssociation.LifecycleState |
getLifecycleState()
The current state of Autonomous Data Guard.
|
String |
getPeerAutonomousDatabaseId()
The OCID of the peer Autonomous Database.
|
AutonomousDatabaseDataguardAssociation.PeerAutonomousDatabaseLifeCycleState |
getPeerAutonomousDatabaseLifeCycleState()
The current state of Autonomous Data Guard.
|
AutonomousDatabaseDataguardAssociation.PeerRole |
getPeerRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
|
AutonomousDatabaseDataguardAssociation.ProtectionMode |
getProtectionMode()
The protection mode of this Data Guard association.
|
AutonomousDatabaseDataguardAssociation.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 Data Guard 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() |
AutonomousDatabaseDataguardAssociation.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"id","autonomousDatabaseId","role","lifecycleState","lifecycleDetails","peerRole","peerAutonomousDatabaseId","peerAutonomousDatabaseLifeCycleState","protectionMode","applyLag","applyRate","isAutomaticFailoverEnabled","transportLag","timeLastSynced","timeCreated","timeLastRoleChanged"}) public AutonomousDatabaseDataguardAssociation(String id, String autonomousDatabaseId, AutonomousDatabaseDataguardAssociation.Role role, AutonomousDatabaseDataguardAssociation.LifecycleState lifecycleState, String lifecycleDetails, AutonomousDatabaseDataguardAssociation.PeerRole peerRole, String peerAutonomousDatabaseId, AutonomousDatabaseDataguardAssociation.PeerAutonomousDatabaseLifeCycleState peerAutonomousDatabaseLifeCycleState, AutonomousDatabaseDataguardAssociation.ProtectionMode protectionMode, String applyLag, String applyRate, Boolean isAutomaticFailoverEnabled, String transportLag, Date timeLastSynced, Date timeCreated, Date timeLastRoleChanged)
public static AutonomousDatabaseDataguardAssociation.Builder builder()
Create a new builder.
public AutonomousDatabaseDataguardAssociation.Builder toBuilder()
public String getId()
The OCID of the Autonomous Dataguard created for Autonomous Container Database where given Autonomous Database resides in.
public String getAutonomousDatabaseId()
The OCID of the Autonomous Database that has a relationship with the peer Autonomous Database.
public AutonomousDatabaseDataguardAssociation.Role getRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
public AutonomousDatabaseDataguardAssociation.LifecycleState getLifecycleState()
The current state of Autonomous Data Guard.
public String getLifecycleDetails()
Additional information about the current lifecycleState, if available.
public AutonomousDatabaseDataguardAssociation.PeerRole getPeerRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
public String getPeerAutonomousDatabaseId()
The OCID of the peer Autonomous Database.
public AutonomousDatabaseDataguardAssociation.PeerAutonomousDatabaseLifeCycleState getPeerAutonomousDatabaseLifeCycleState()
The current state of Autonomous Data Guard.
public AutonomousDatabaseDataguardAssociation.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 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 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 Data Guard association was created.
public Date getTimeLastRoleChanged()
The date and time when the last role change action happened.
Copyright © 2016–2022. All rights reserved.