@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabaseStandbySummary extends Object
Autonomous Data Guard standby database details.
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
__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 |
AutonomousDatabaseStandbySummary.Builder |
static class |
AutonomousDatabaseStandbySummary.LifecycleState
The current state of the Autonomous Database.
|
Constructor and Description |
---|
AutonomousDatabaseStandbySummary(Integer lagTimeInSeconds,
AutonomousDatabaseStandbySummary.LifecycleState lifecycleState,
String lifecycleDetails,
Date timeDataGuardRoleChanged)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutonomousDatabaseStandbySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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.
|
int |
hashCode() |
AutonomousDatabaseStandbySummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
@Deprecated @ConstructorProperties(value={"lagTimeInSeconds","lifecycleState","lifecycleDetails","timeDataGuardRoleChanged"}) public AutonomousDatabaseStandbySummary(Integer lagTimeInSeconds, AutonomousDatabaseStandbySummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeDataGuardRoleChanged)
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 String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arraysCopyright © 2016–2022. All rights reserved.