public static class ChangeDisasterRecoveryConfigurationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public ChangeDisasterRecoveryConfigurationDetails.Builder disasterRecoveryType(ChangeDisasterRecoveryConfigurationDetails.DisasterRecoveryType disasterRecoveryType)
Indicates the disaster recovery (DR) type of the Autonomous 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.
disasterRecoveryType
- the value to setpublic ChangeDisasterRecoveryConfigurationDetails.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.
timeSnapshotStandbyEnabledTill
- the value to setpublic ChangeDisasterRecoveryConfigurationDetails.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.
isSnapshotStandby
- the value to setpublic ChangeDisasterRecoveryConfigurationDetails.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.
isReplicateAutomaticBackups
- the value to setpublic ChangeDisasterRecoveryConfigurationDetails build()
public ChangeDisasterRecoveryConfigurationDetails.Builder copy(ChangeDisasterRecoveryConfigurationDetails model)
Copyright © 2016–2024. All rights reserved.