Package com.oracle.bmc.database.model
Class AutonomousDatabaseStandbySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.AutonomousDatabaseStandbySummary.Builder
-
- Enclosing class:
- AutonomousDatabaseStandbySummary
public static class AutonomousDatabaseStandbySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
maintenanceTargetComponent(String maintenanceTargetComponent)
The component chosen for maintenance.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.AutonomousDatabaseStandbySummary.Builder
timeMaintenanceBegin(Date timeMaintenanceBegin)
The date and time when maintenance will begin.AutonomousDatabaseStandbySummary.Builder
timeMaintenanceEnd(Date timeMaintenanceEnd)
The date and time when maintenance will end.
-
-
-
Method Detail
-
lagTimeInSeconds
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.
- Parameters:
lagTimeInSeconds
- the value to set- Returns:
- this builder
-
lifecycleState
public AutonomousDatabaseStandbySummary.Builder lifecycleState(AutonomousDatabaseStandbySummary.LifecycleState lifecycleState)
The current state of the Autonomous Database.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public AutonomousDatabaseStandbySummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeDataGuardRoleChanged
public AutonomousDatabaseStandbySummary.Builder timeDataGuardRoleChanged(Date timeDataGuardRoleChanged)
The date and time the Autonomous Data Guard role was switched for the standby Autonomous Database.- Parameters:
timeDataGuardRoleChanged
- the value to set- Returns:
- this builder
-
timeDisasterRecoveryRoleChanged
public AutonomousDatabaseStandbySummary.Builder timeDisasterRecoveryRoleChanged(Date timeDisasterRecoveryRoleChanged)
The date and time the Disaster Recovery role was switched for the standby Autonomous Database.- Parameters:
timeDisasterRecoveryRoleChanged
- the value to set- Returns:
- this builder
-
timeMaintenanceBegin
public AutonomousDatabaseStandbySummary.Builder timeMaintenanceBegin(Date timeMaintenanceBegin)
The date and time when maintenance will begin.- Parameters:
timeMaintenanceBegin
- the value to set- Returns:
- this builder
-
timeMaintenanceEnd
public AutonomousDatabaseStandbySummary.Builder timeMaintenanceEnd(Date timeMaintenanceEnd)
The date and time when maintenance will end.- Parameters:
timeMaintenanceEnd
- the value to set- Returns:
- this builder
-
maintenanceTargetComponent
public AutonomousDatabaseStandbySummary.Builder maintenanceTargetComponent(String maintenanceTargetComponent)
The component chosen for maintenance.- Parameters:
maintenanceTargetComponent
- the value to set- Returns:
- this builder
-
availabilityDomain
public AutonomousDatabaseStandbySummary.Builder availabilityDomain(String availabilityDomain)
The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
build
public AutonomousDatabaseStandbySummary build()
-
copy
public AutonomousDatabaseStandbySummary.Builder copy(AutonomousDatabaseStandbySummary model)
-
-