public static class DisasterRecoveryConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DisasterRecoveryConfiguration |
build() |
DisasterRecoveryConfiguration.Builder |
copy(DisasterRecoveryConfiguration model) |
DisasterRecoveryConfiguration.Builder |
disasterRecoveryType(DisasterRecoveryConfiguration.DisasterRecoveryType disasterRecoveryType)
Indicates the disaster recovery (DR) type of the Autonomous Database Serverless instance.
|
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.
|
DisasterRecoveryConfiguration.Builder |
isSnapshotStandby(Boolean isSnapshotStandby)
Indicates if user wants to convert to a snapshot standby.
|
DisasterRecoveryConfiguration.Builder |
timeSnapshotStandbyEnabledTill(Date timeSnapshotStandbyEnabledTill)
Time and date stored as an RFC 3339 formatted timestamp string.
|
public DisasterRecoveryConfiguration.Builder disasterRecoveryType(DisasterRecoveryConfiguration.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 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.
timeSnapshotStandbyEnabledTill
- the value to setpublic 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.
isSnapshotStandby
- the value to setpublic 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.
isReplicateAutomaticBackups
- the value to setpublic DisasterRecoveryConfiguration build()
public DisasterRecoveryConfiguration.Builder copy(DisasterRecoveryConfiguration model)
Copyright © 2016–2024. All rights reserved.