public static class AutonomousDatabaseStandbySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutonomousDatabaseStandbySummary.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of a local Autonomous Data Guard standby database of an
Autonomous Database Serverless instance.
|
AutonomousDatabaseStandbySummary |
build() |
AutonomousDatabaseStandbySummary.Builder |
copy(AutonomousDatabaseStandbySummary model) |
AutonomousDatabaseStandbySummary.Builder |
lagTimeInSeconds(Integer lagTimeInSeconds)
The amount of time, in seconds, that the data of the standby database lags the data of
the primary database.
|
AutonomousDatabaseStandbySummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
AutonomousDatabaseStandbySummary.Builder |
lifecycleState(AutonomousDatabaseStandbySummary.LifecycleState lifecycleState)
The current state of the Autonomous Database.
|
AutonomousDatabaseStandbySummary.Builder |
timeDataGuardRoleChanged(Date timeDataGuardRoleChanged)
The date and time the Autonomous Data Guard role was switched for the standby Autonomous
Database.
|
AutonomousDatabaseStandbySummary.Builder |
timeDisasterRecoveryRoleChanged(Date timeDisasterRecoveryRoleChanged)
The date and time the Disaster Recovery role was switched for the standby Autonomous
Database.
|
public AutonomousDatabaseStandbySummary.Builder lagTimeInSeconds(Integer lagTimeInSeconds)
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.
lagTimeInSeconds
- the value to setpublic AutonomousDatabaseStandbySummary.Builder lifecycleState(AutonomousDatabaseStandbySummary.LifecycleState lifecycleState)
The current state of the Autonomous Database.
lifecycleState
- the value to setpublic AutonomousDatabaseStandbySummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic AutonomousDatabaseStandbySummary.Builder timeDataGuardRoleChanged(Date timeDataGuardRoleChanged)
The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.
timeDataGuardRoleChanged
- the value to setpublic AutonomousDatabaseStandbySummary.Builder timeDisasterRecoveryRoleChanged(Date timeDisasterRecoveryRoleChanged)
The date and time the Disaster Recovery role was switched for the standby Autonomous Database.
timeDisasterRecoveryRoleChanged
- the value to setpublic AutonomousDatabaseStandbySummary.Builder availabilityDomain(String availabilityDomain)
The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.
availabilityDomain
- the value to setpublic AutonomousDatabaseStandbySummary build()
public AutonomousDatabaseStandbySummary.Builder copy(AutonomousDatabaseStandbySummary model)
Copyright © 2016–2024. All rights reserved.