Package com.oracle.bmc.database.model
Class DisasterRecoveryConfiguration.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.DisasterRecoveryConfiguration.Builder
 
- 
- Enclosing class:
- DisasterRecoveryConfiguration
 
 public static class DisasterRecoveryConfiguration.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DisasterRecoveryConfigurationbuild()DisasterRecoveryConfiguration.Buildercopy(DisasterRecoveryConfiguration model)DisasterRecoveryConfiguration.BuilderdisasterRecoveryType(DisasterRecoveryConfiguration.DisasterRecoveryType disasterRecoveryType)Indicates the disaster recovery (DR) type of the Autonomous AI Database Serverless instance.DisasterRecoveryConfiguration.BuilderisReplicateAutomaticBackups(Boolean isReplicateAutomaticBackups)If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby.DisasterRecoveryConfiguration.BuilderisSnapshotStandby(Boolean isSnapshotStandby)Indicates if user wants to convert to a snapshot standby.DisasterRecoveryConfiguration.BuildertimeSnapshotStandbyEnabledTill(Date timeSnapshotStandbyEnabledTill)Time and date stored as an RFC 3339 formatted timestamp string.
 
- 
- 
- 
Method Detail- 
disasterRecoveryTypepublic DisasterRecoveryConfiguration.Builder disasterRecoveryType(DisasterRecoveryConfiguration.DisasterRecoveryType disasterRecoveryType) Indicates the disaster recovery (DR) type of the Autonomous AI Database Serverless instance.Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. - Parameters:
- disasterRecoveryType- the value to set
- Returns:
- this builder
 
 - 
timeSnapshotStandbyEnabledTillpublic DisasterRecoveryConfiguration.Builder timeSnapshotStandbyEnabledTill(Date timeSnapshotStandbyEnabledTill) Time and date stored as an RFC 3339 formatted timestamp string.For example, 2022-01-01T12:00:00.000Z would set a limit for the snapshot standby to be converted back to a cross-region standby database. - Parameters:
- timeSnapshotStandbyEnabledTill- the value to set
- Returns:
- this builder
 
 - 
isSnapshotStandbypublic DisasterRecoveryConfiguration.Builder isSnapshotStandby(Boolean isSnapshotStandby) Indicates if user wants to convert to a snapshot standby.For example, true would set a standby database to snapshot standby database. False would set a snapshot standby database back to regular standby database. - Parameters:
- isSnapshotStandby- the value to set
- Returns:
- this builder
 
 - 
isReplicateAutomaticBackupspublic DisasterRecoveryConfiguration.Builder isReplicateAutomaticBackups(Boolean isReplicateAutomaticBackups) If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby.If false, the backups taken on the Primary are not replicated to the Standby database. - Parameters:
- isReplicateAutomaticBackups- the value to set
- Returns:
- this builder
 
 - 
buildpublic DisasterRecoveryConfiguration build() 
 - 
copypublic DisasterRecoveryConfiguration.Builder copy(DisasterRecoveryConfiguration model) 
 
- 
 
-