Package com.oracle.bmc.mysql.model
Class CopyBackupDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.model.CopyBackupDetails.Builder
 
- 
- Enclosing class:
- CopyBackupDetails
 
 public static class CopyBackupDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyBackupDetails.BuilderbackupCopyRetentionInDays(Integer backupCopyRetentionInDays)Number of days to retain the copied DB system backup.CopyBackupDetailsbuild()CopyBackupDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment the DB system backup is to be copied to.CopyBackupDetails.Buildercopy(CopyBackupDetails model)CopyBackupDetails.Builderdescription(String description)A user-supplied description for the DB system backup.CopyBackupDetails.BuilderdisplayName(String displayName)A user-supplied display name for the DB system backup.CopyBackupDetails.BuilderencryptData(EncryptDataDetails encryptData)CopyBackupDetails.BuildersourceBackupId(String sourceBackupId)The OCID of DB system backup to be copied.CopyBackupDetails.BuildersourceRegion(String sourceRegion)The region identifier of the source region where the DB system backup exists.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CopyBackupDetails.Builder compartmentId(String compartmentId) The OCID of the compartment the DB system backup is to be copied to.*Note:** The compartment must be the same as the compartment of the DB system backup in the source region. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CopyBackupDetails.Builder description(String description) A user-supplied description for the DB system backup.By default, the source backup description will be used. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CopyBackupDetails.Builder displayName(String displayName) A user-supplied display name for the DB system backup.By default, the source backup display name will be used. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
backupCopyRetentionInDayspublic CopyBackupDetails.Builder backupCopyRetentionInDays(Integer backupCopyRetentionInDays) Number of days to retain the copied DB system backup.*Note:** The maximum value for an automatic backup is 35, and the maximum value for a manual backup is 365. - Parameters:
- backupCopyRetentionInDays- the value to set
- Returns:
- this builder
 
 - 
sourceBackupIdpublic CopyBackupDetails.Builder sourceBackupId(String sourceBackupId) The OCID of DB system backup to be copied.- Parameters:
- sourceBackupId- the value to set
- Returns:
- this builder
 
 - 
sourceRegionpublic CopyBackupDetails.Builder sourceRegion(String sourceRegion) The region identifier of the source region where the DB system backup exists.For more information, please see Regions and Availability Domains. - Parameters:
- sourceRegion- the value to set
- Returns:
- this builder
 
 - 
encryptDatapublic CopyBackupDetails.Builder encryptData(EncryptDataDetails encryptData) 
 - 
buildpublic CopyBackupDetails build() 
 - 
copypublic CopyBackupDetails.Builder copy(CopyBackupDetails model) 
 
- 
 
-