Class BackupDestinationDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.BackupDestinationDetails.Builder
 
- 
- Enclosing class:
- BackupDestinationDetails
 
 public static class BackupDestinationDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupDestinationDetails.BuilderbackupRetentionPolicyOnTerminate(BackupDestinationDetails.BackupRetentionPolicyOnTerminate backupRetentionPolicyOnTerminate)Defines the automatic and manual backup retention policy for the Autonomous AI Database termination.BackupDestinationDetailsbuild()BackupDestinationDetails.Buildercopy(BackupDestinationDetails model)BackupDestinationDetails.BuilderdbrsPolicyId(String dbrsPolicyId)The OCID of the DBRS policy used for backup.BackupDestinationDetails.Builderid(String id)The OCID of the backup destination.BackupDestinationDetails.BuilderinternetProxy(String internetProxy)Proxy URL to connect to object store.BackupDestinationDetails.BuilderisRemote(Boolean isRemote)Indicates whether the backup destination is cross-region or local.BackupDestinationDetails.BuilderisRetentionLockEnabled(Boolean isRetentionLockEnabled)Indicates if backup retention is locked for all the database backups in the Autonomous Container Database (ACD).BackupDestinationDetails.BuilderremoteRegion(String remoteRegion)The name of the remote region where the remote automatic incremental backups will be stored.BackupDestinationDetails.Buildertype(BackupDestinationDetails.Type type)Type of the database backup destination.BackupDestinationDetails.BuildervpcPassword(String vpcPassword)For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.BackupDestinationDetails.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- 
typepublic BackupDestinationDetails.Builder type(BackupDestinationDetails.Type type) Type of the database backup destination.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
idpublic BackupDestinationDetails.Builder id(String id) The OCID of the backup destination.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
vpcUserpublic BackupDestinationDetails.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
 
 - 
vpcPasswordpublic BackupDestinationDetails.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
 
 - 
internetProxypublic BackupDestinationDetails.Builder internetProxy(String internetProxy) Proxy URL to connect to object store.- Parameters:
- internetProxy- the value to set
- Returns:
- this builder
 
 - 
dbrsPolicyIdpublic BackupDestinationDetails.Builder dbrsPolicyId(String dbrsPolicyId) The OCID of the DBRS policy used for backup.- Parameters:
- dbrsPolicyId- the value to set
- Returns:
- this builder
 
 - 
isRetentionLockEnabledpublic BackupDestinationDetails.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
 
 - 
backupRetentionPolicyOnTerminatepublic BackupDestinationDetails.Builder backupRetentionPolicyOnTerminate(BackupDestinationDetails.BackupRetentionPolicyOnTerminate backupRetentionPolicyOnTerminate) Defines the automatic and manual backup retention policy for the Autonomous AI 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
 
 - 
isRemotepublic BackupDestinationDetails.Builder isRemote(Boolean isRemote) Indicates whether the backup destination is cross-region or local.- Parameters:
- isRemote- the value to set
- Returns:
- this builder
 
 - 
remoteRegionpublic BackupDestinationDetails.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
 
 - 
buildpublic BackupDestinationDetails build() 
 - 
copypublic BackupDestinationDetails.Builder copy(BackupDestinationDetails model) 
 
- 
 
-