Class BackupDestinationConfigurationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.BackupDestinationConfigurationSummary.Builder
-
- Enclosing class:
- BackupDestinationConfigurationSummary
public static class BackupDestinationConfigurationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupDestinationConfigurationSummary.BuilderbackupDestinationAttachHistory(List<Date> backupDestinationAttachHistory)The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups.BackupDestinationConfigurationSummary.BuilderbackupRetentionPolicyOnTerminate(BackupDestinationConfigurationSummary.BackupRetentionPolicyOnTerminate backupRetentionPolicyOnTerminate)Defines the automatic and manual backup retention policy for the Autonomous Database termination.BackupDestinationConfigurationSummarybuild()BackupDestinationConfigurationSummary.Buildercopy(BackupDestinationConfigurationSummary model)BackupDestinationConfigurationSummary.BuilderdbrsPolicyId(String dbrsPolicyId)The OCID of the DBRS policy used for backup.BackupDestinationConfigurationSummary.Builderid(String id)The OCID of the backup destination.BackupDestinationConfigurationSummary.BuilderinternetProxy(String internetProxy)Proxy URL to connect to object store.BackupDestinationConfigurationSummary.BuilderisRemote(Boolean isRemote)Indicates whether the backup destination is cross-region or local.BackupDestinationConfigurationSummary.BuilderisRetentionLockEnabled(Boolean isRetentionLockEnabled)Indicates if backup retention is locked for all the database backups in the Autonomous Container Database (ACD).BackupDestinationConfigurationSummary.BuilderrecoveryWindowInDays(Integer recoveryWindowInDays)Number of days between the current and earliest point of recoverability covered by automatic backups and manual backups, but not long term backups.BackupDestinationConfigurationSummary.BuilderremoteRegion(String remoteRegion)The name of the remote region where the remote automatic incremental backups will be stored.BackupDestinationConfigurationSummary.BuilderspaceUtilizedInGBs(Integer spaceUtilizedInGBs)The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer.BackupDestinationConfigurationSummary.BuildertimeAtWhichStorageDetailsAreUpdated(Date timeAtWhichStorageDetailsAreUpdated)The latest timestamp when the backup destination details, such as ‘spaceUtilized,’ are updated.BackupDestinationConfigurationSummary.Buildertype(BackupDestinationConfigurationSummary.Type type)Type of the database backup destination.BackupDestinationConfigurationSummary.BuildervpcPassword(String vpcPassword)For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.BackupDestinationConfigurationSummary.BuildervpcUser(String vpcUser)For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
-
-
-
Method Detail
-
recoveryWindowInDays
public BackupDestinationConfigurationSummary.Builder recoveryWindowInDays(Integer recoveryWindowInDays)
Number of days between the current and earliest point of recoverability covered by automatic backups and manual backups, but not long term backups.- Parameters:
recoveryWindowInDays- the value to set- Returns:
- this builder
-
backupDestinationAttachHistory
public BackupDestinationConfigurationSummary.Builder backupDestinationAttachHistory(List<Date> backupDestinationAttachHistory)
The timestamps at which this backup destination is used as the preferred destination to host the Autonomous Container Database backups.- Parameters:
backupDestinationAttachHistory- the value to set- Returns:
- this builder
-
spaceUtilizedInGBs
public BackupDestinationConfigurationSummary.Builder spaceUtilizedInGBs(Integer spaceUtilizedInGBs)
The total space utilized (in GBs) by this Autonomous Container Database on this backup destination, rounded to the nearest integer.- Parameters:
spaceUtilizedInGBs- the value to set- Returns:
- this builder
-
timeAtWhichStorageDetailsAreUpdated
public BackupDestinationConfigurationSummary.Builder timeAtWhichStorageDetailsAreUpdated(Date timeAtWhichStorageDetailsAreUpdated)
The latest timestamp when the backup destination details, such as ‘spaceUtilized,’ are updated.- Parameters:
timeAtWhichStorageDetailsAreUpdated- the value to set- Returns:
- this builder
-
type
public BackupDestinationConfigurationSummary.Builder type(BackupDestinationConfigurationSummary.Type type)
Type of the database backup destination.- Parameters:
type- the value to set- Returns:
- this builder
-
id
public BackupDestinationConfigurationSummary.Builder id(String id)
The OCID of the backup destination.- Parameters:
id- the value to set- Returns:
- this builder
-
vpcUser
public BackupDestinationConfigurationSummary.Builder vpcUser(String vpcUser)
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.- Parameters:
vpcUser- the value to set- Returns:
- this builder
-
vpcPassword
public BackupDestinationConfigurationSummary.Builder vpcPassword(String vpcPassword)
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.- Parameters:
vpcPassword- the value to set- Returns:
- this builder
-
internetProxy
public BackupDestinationConfigurationSummary.Builder internetProxy(String internetProxy)
Proxy URL to connect to object store.- Parameters:
internetProxy- the value to set- Returns:
- this builder
-
dbrsPolicyId
public BackupDestinationConfigurationSummary.Builder dbrsPolicyId(String dbrsPolicyId)
The OCID of the DBRS policy used for backup.- Parameters:
dbrsPolicyId- the value to set- Returns:
- this builder
-
isRetentionLockEnabled
public BackupDestinationConfigurationSummary.Builder isRetentionLockEnabled(Boolean isRetentionLockEnabled)
Indicates if backup retention is locked for all the database backups in the Autonomous Container Database (ACD).The retention window cannot be decreased if the backup retention lock is enabled. Once applied on the Autonomous Container Database, the retention lock cannot be removed, or the retention period cannot be decreased after a 14-day period. If the backup is a Long Term Backup and retention lock is enabled, the backup cannot be deleted and must expire. The retention lock set on the Autonomous Container Database is not applicable for cross region remote backups and backups hosted on recovery Appliance backup destination.
- Parameters:
isRetentionLockEnabled- the value to set- Returns:
- this builder
-
backupRetentionPolicyOnTerminate
public BackupDestinationConfigurationSummary.Builder backupRetentionPolicyOnTerminate(BackupDestinationConfigurationSummary.BackupRetentionPolicyOnTerminate backupRetentionPolicyOnTerminate)
Defines the automatic and manual backup retention policy for the Autonomous Database termination.The retention policy set on the Autonomous Container Database is not applicable for cross region remote backups and backups hosted on recovery Appliance backup destination. Options are ‘RETAIN_PER_RETENTION_WINDOW’ or ‘RETAIN_FOR_72_HOURS’.The default value is ‘RETAIN_FOR_72_HOURS’.
- Parameters:
backupRetentionPolicyOnTerminate- the value to set- Returns:
- this builder
-
isRemote
public BackupDestinationConfigurationSummary.Builder isRemote(Boolean isRemote)
Indicates whether the backup destination is cross-region or local.- Parameters:
isRemote- the value to set- Returns:
- this builder
-
remoteRegion
public BackupDestinationConfigurationSummary.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
-
build
public BackupDestinationConfigurationSummary build()
-
copy
public BackupDestinationConfigurationSummary.Builder copy(BackupDestinationConfigurationSummary model)
-
-