Package com.oracle.bmc.database.model
Class AutonomousContainerDatabaseDataguard
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.AutonomousContainerDatabaseDataguard
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousContainerDatabaseDataguard extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The properties that define Autonomous Container Databases Dataguard.
Note: Objects should always be created or deserialized using theAutonomousContainerDatabaseDataguard.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 theAutonomousContainerDatabaseDataguard.Builder
, which maintain a set of all explicitly set fields calledAutonomousContainerDatabaseDataguard.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 class
AutonomousContainerDatabaseDataguard.Builder
static class
AutonomousContainerDatabaseDataguard.LifecycleState
The current state of Autonomous Data Guard.static class
AutonomousContainerDatabaseDataguard.ProtectionMode
The protection mode of this Autonomous Data Guard association.static class
AutonomousContainerDatabaseDataguard.Role
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.
-
Constructor Summary
Constructors Constructor Description AutonomousContainerDatabaseDataguard(String autonomousContainerDatabaseId, AutonomousContainerDatabaseDataguard.Role role, AutonomousContainerDatabaseDataguard.LifecycleState lifecycleState, String lifecycleDetails, AutonomousContainerDatabaseDataguard.ProtectionMode protectionMode, Integer fastStartFailOverLagLimitInSeconds, String applyLag, String applyRate, Boolean isAutomaticFailoverEnabled, String transportLag, Date timeLastSynced, Date timeCreated, Date timeLastRoleChanged, String availabilityDomain, Date timeLagRefreshedOn, String redoTransportMode, String automaticFailoverTarget)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutonomousContainerDatabaseDataguard.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
getAutomaticFailoverTarget()
Automatically selected by backend when observer is enabled.String
getAutonomousContainerDatabaseId()
The OCID of the Autonomous Container Database that has a relationship with the peer Autonomous Container Database.String
getAvailabilityDomain()
The domain of the Autonomous Container DatabaseInteger
getFastStartFailOverLagLimitInSeconds()
The lag time for my preference based on data loss tolerance in seconds.Boolean
getIsAutomaticFailoverEnabled()
Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard AssociationString
getLifecycleDetails()
Additional information about the current lifecycleState, if available.AutonomousContainerDatabaseDataguard.LifecycleState
getLifecycleState()
The current state of Autonomous Data Guard.AutonomousContainerDatabaseDataguard.ProtectionMode
getProtectionMode()
The protection mode of this Autonomous Data Guard association.String
getRedoTransportMode()
Automatically selected by backend based on the protection mode.AutonomousContainerDatabaseDataguard.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
getTimeLagRefreshedOn()
Timestamp when the lags were last calculated for a standby.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()
AutonomousContainerDatabaseDataguard.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AutonomousContainerDatabaseDataguard
@Deprecated @ConstructorProperties({"autonomousContainerDatabaseId","role","lifecycleState","lifecycleDetails","protectionMode","fastStartFailOverLagLimitInSeconds","applyLag","applyRate","isAutomaticFailoverEnabled","transportLag","timeLastSynced","timeCreated","timeLastRoleChanged","availabilityDomain","timeLagRefreshedOn","redoTransportMode","automaticFailoverTarget"}) public AutonomousContainerDatabaseDataguard(String autonomousContainerDatabaseId, AutonomousContainerDatabaseDataguard.Role role, AutonomousContainerDatabaseDataguard.LifecycleState lifecycleState, String lifecycleDetails, AutonomousContainerDatabaseDataguard.ProtectionMode protectionMode, Integer fastStartFailOverLagLimitInSeconds, String applyLag, String applyRate, Boolean isAutomaticFailoverEnabled, String transportLag, Date timeLastSynced, Date timeCreated, Date timeLastRoleChanged, String availabilityDomain, Date timeLagRefreshedOn, String redoTransportMode, String automaticFailoverTarget)
Deprecated.
-
-
Method Detail
-
builder
public static AutonomousContainerDatabaseDataguard.Builder builder()
Create a new builder.
-
toBuilder
public AutonomousContainerDatabaseDataguard.Builder toBuilder()
-
getAutonomousContainerDatabaseId
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.
- Returns:
- the value
-
getRole
public AutonomousContainerDatabaseDataguard.Role getRole()
The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.- Returns:
- the value
-
getLifecycleState
public AutonomousContainerDatabaseDataguard.LifecycleState getLifecycleState()
The current state of Autonomous Data Guard.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Additional information about the current lifecycleState, if available.- Returns:
- the value
-
getProtectionMode
public AutonomousContainerDatabaseDataguard.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.
- Returns:
- the value
-
getFastStartFailOverLagLimitInSeconds
public Integer getFastStartFailOverLagLimitInSeconds()
The lag time for my preference based on data loss tolerance in seconds.- Returns:
- the value
-
getApplyLag
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
- Returns:
- the value
-
getApplyRate
public String getApplyRate()
The rate at which redo logs are synchronized between the associated Autonomous Container Databases.Example: 180 Mb per second
- Returns:
- the value
-
getIsAutomaticFailoverEnabled
public Boolean getIsAutomaticFailoverEnabled()
Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association- Returns:
- the value
-
getTransportLag
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
- Returns:
- the value
-
getTimeLastSynced
public Date getTimeLastSynced()
The date and time of the last update to the apply lag, apply rate, and transport lag values.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the Autonomous DataGuard association was created.- Returns:
- the value
-
getTimeLastRoleChanged
public Date getTimeLastRoleChanged()
The date and time when the last role change action happened.- Returns:
- the value
-
getAvailabilityDomain
public String getAvailabilityDomain()
The domain of the Autonomous Container Database- Returns:
- the value
-
getTimeLagRefreshedOn
public Date getTimeLagRefreshedOn()
Timestamp when the lags were last calculated for a standby.- Returns:
- the value
-
getRedoTransportMode
public String getRedoTransportMode()
Automatically selected by backend based on the protection mode.- Returns:
- the value
-
getAutomaticFailoverTarget
public String getAutomaticFailoverTarget()
Automatically selected by backend when observer is enabled.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-