Class DistributedDbBackupConfig.Builder
- java.lang.Object
- 
- com.oracle.bmc.distributeddatabase.model.DistributedDbBackupConfig.Builder
 
- 
- Enclosing class:
- DistributedDbBackupConfig
 
 public static class DistributedDbBackupConfig.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedDbBackupConfig.BuilderautoBackupWindow(DistributedDbBackupConfig.AutoBackupWindow autoBackupWindow)Time window selected for initiating automatic backup for the database system.DistributedDbBackupConfig.BuilderautoFullBackupDay(DistributedDbBackupConfig.AutoFullBackupDay autoFullBackupDay)Day of the week the full backup should be applied on the database system.DistributedDbBackupConfig.BuilderautoFullBackupWindow(DistributedDbBackupConfig.AutoFullBackupWindow autoFullBackupWindow)Time window selected for initiating full backup for the database system.DistributedDbBackupConfig.BuilderbackupDeletionPolicy(DistributedDbBackupConfig.BackupDeletionPolicy backupDeletionPolicy)This defines when the backups will be deleted.DistributedDbBackupConfig.BuilderbackupDestinationDetails(List<DistributedDbBackupDestination> backupDestinationDetails)Backup destination details.DistributedDbBackupConfigbuild()DistributedDbBackupConfig.BuildercanRunImmediateFullBackup(Boolean canRunImmediateFullBackup)If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.DistributedDbBackupConfig.Buildercopy(DistributedDbBackupConfig model)DistributedDbBackupConfig.BuilderisAutoBackupEnabled(Boolean isAutoBackupEnabled)If set to true, configures automatic backups.DistributedDbBackupConfig.BuilderisRemoteBackupEnabled(Boolean isRemoteBackupEnabled)If set to true, configures automatic incremental backups in the local region (the region of the DB system) and the remote region with a default frequency of 1 hour.DistributedDbBackupConfig.BuilderrecoveryWindowInDays(Integer recoveryWindowInDays)Number of days between the current and the earliest point of recoverability covered by automatic backups.DistributedDbBackupConfig.BuilderremoteRegion(String remoteRegion)The name of the remote region where the remote automatic incremental backups will be stored.
 
- 
- 
- 
Method Detail- 
isAutoBackupEnabledpublic DistributedDbBackupConfig.Builder isAutoBackupEnabled(Boolean isAutoBackupEnabled) If set to true, configures automatic backups.If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work. - Parameters:
- isAutoBackupEnabled- the value to set
- Returns:
- this builder
 
 - 
recoveryWindowInDayspublic DistributedDbBackupConfig.Builder recoveryWindowInDays(Integer recoveryWindowInDays) Number of days between the current and the earliest point of recoverability covered by automatic backups.This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. - Parameters:
- recoveryWindowInDays- the value to set
- Returns:
- this builder
 
 - 
autoBackupWindowpublic DistributedDbBackupConfig.Builder autoBackupWindow(DistributedDbBackupConfig.AutoBackupWindow autoBackupWindow) Time window selected for initiating automatic backup for the database system.There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO - Parameters:
- autoBackupWindow- the value to set
- Returns:
- this builder
 
 - 
autoFullBackupWindowpublic DistributedDbBackupConfig.Builder autoFullBackupWindow(DistributedDbBackupConfig.AutoFullBackupWindow autoFullBackupWindow) Time window selected for initiating full backup for the database system.There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). Example: SLOT_TWO - Parameters:
- autoFullBackupWindow- the value to set
- Returns:
- this builder
 
 - 
autoFullBackupDaypublic DistributedDbBackupConfig.Builder autoFullBackupDay(DistributedDbBackupConfig.AutoFullBackupDay autoFullBackupDay) Day of the week the full backup should be applied on the database system.If no option is selected, the value is null and we will default to Sunday. - Parameters:
- autoFullBackupDay- the value to set
- Returns:
- this builder
 
 - 
canRunImmediateFullBackuppublic DistributedDbBackupConfig.Builder canRunImmediateFullBackup(Boolean canRunImmediateFullBackup) If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.- Parameters:
- canRunImmediateFullBackup- the value to set
- Returns:
- this builder
 
 - 
isRemoteBackupEnabledpublic DistributedDbBackupConfig.Builder isRemoteBackupEnabled(Boolean isRemoteBackupEnabled) If set to true, configures automatic incremental backups in the local region (the region of the DB system) and the remote region with a default frequency of 1 hour.If you previously used RMAN or dbcli to configure backups, using the Console or the API for manged backups creates a new backup configuration for your database. The new configuration replaces the configuration created with RMAN or dbcli. This means that you can no longer rely on your previously configured unmanaged backups to work. - Parameters:
- isRemoteBackupEnabled- the value to set
- Returns:
- this builder
 
 - 
remoteRegionpublic DistributedDbBackupConfig.Builder remoteRegion(String remoteRegion) The name of the remote region where the remote automatic incremental backups will be stored.For information about valid region names, see Regions and Availability Domains. - Parameters:
- remoteRegion- the value to set
- Returns:
- this builder
 
 - 
backupDestinationDetailspublic DistributedDbBackupConfig.Builder backupDestinationDetails(List<DistributedDbBackupDestination> backupDestinationDetails) Backup destination details.- Parameters:
- backupDestinationDetails- the value to set
- Returns:
- this builder
 
 - 
backupDeletionPolicypublic DistributedDbBackupConfig.Builder backupDeletionPolicy(DistributedDbBackupConfig.BackupDeletionPolicy backupDeletionPolicy) This defines when the backups will be deleted.- IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently… - RETAIN will keep the backups as per the policy defined for database backups.
 - Parameters:
- backupDeletionPolicy- the value to set
- Returns:
- this builder
 
 - 
buildpublic DistributedDbBackupConfig build() 
 - 
copypublic DistributedDbBackupConfig.Builder copy(DistributedDbBackupConfig model) 
 
- 
 
-