@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)
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.
|
int |
hashCode() |
AutonomousDatabaseStandbySummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"lagTimeInSeconds","lifecycleState","lifecycleDetails"}) @Deprecated public AutonomousDatabaseStandbySummary(Integer lagTimeInSeconds, AutonomousDatabaseStandbySummary.LifecycleState lifecycleState, String lifecycleDetails)
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.
Copyright © 2016–2021. All rights reserved.