@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabaseStandbySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Autonomous Data Guard standby database details.
Note: Objects should always be created or deserialized using the AutonomousDatabaseStandbySummary.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 AutonomousDatabaseStandbySummary.Builder
, which maintain a
set of all explicitly set fields called AutonomousDatabaseStandbySummary.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 |
AutonomousDatabaseStandbySummary.Builder |
static class |
AutonomousDatabaseStandbySummary.LifecycleState
The current state of the Autonomous Database.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AutonomousDatabaseStandbySummary(Integer lagTimeInSeconds,
AutonomousDatabaseStandbySummary.LifecycleState lifecycleState,
String lifecycleDetails,
Date timeDataGuardRoleChanged,
Date timeDisasterRecoveryRoleChanged,
String availabilityDomain)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutonomousDatabaseStandbySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAvailabilityDomain()
The availability domain of a local Autonomous Data Guard standby database of an Autonomous
Database Serverless instance.
|
Integer |
getLagTimeInSeconds()
The amount of time, in seconds, that the data of the standby database lags the data of the
primary database.
|
String |
getLifecycleDetails()
Additional information about the current lifecycle state.
|
AutonomousDatabaseStandbySummary.LifecycleState |
getLifecycleState()
The current state of the Autonomous Database.
|
Date |
getTimeDataGuardRoleChanged()
The date and time the Autonomous Data Guard role was switched for the standby Autonomous
Database.
|
Date |
getTimeDisasterRecoveryRoleChanged()
The date and time the Disaster Recovery role was switched for the standby Autonomous
Database.
|
int |
hashCode() |
AutonomousDatabaseStandbySummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"lagTimeInSeconds","lifecycleState","lifecycleDetails","timeDataGuardRoleChanged","timeDisasterRecoveryRoleChanged","availabilityDomain"}) public AutonomousDatabaseStandbySummary(Integer lagTimeInSeconds, AutonomousDatabaseStandbySummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeDataGuardRoleChanged, Date timeDisasterRecoveryRoleChanged, String availabilityDomain)
public static AutonomousDatabaseStandbySummary.Builder builder()
Create a new builder.
public AutonomousDatabaseStandbySummary.Builder toBuilder()
public Integer getLagTimeInSeconds()
The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
public AutonomousDatabaseStandbySummary.LifecycleState getLifecycleState()
The current state of the Autonomous Database.
public String getLifecycleDetails()
Additional information about the current lifecycle state.
public Date getTimeDataGuardRoleChanged()
The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.
public Date getTimeDisasterRecoveryRoleChanged()
The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
public String getAvailabilityDomain()
The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.
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.