Package com.oracle.bmc.mysql.model
Class BackupSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.model.BackupSummary.Builder
 
- 
- Enclosing class:
- BackupSummary
 
 public static class BackupSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupSummary.BuilderbackupPreparationStatus(BackupValidationDetails.BackupPreparationStatus backupPreparationStatus)Indicates whether the backup has been prepared successfully.BackupSummary.BuilderbackupSizeInGBs(Integer backupSizeInGBs)The size of the backup in GiBs.BackupSummary.BuilderbackupType(Backup.BackupType backupType)The type of backup.BackupSummarybuild()BackupSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment the backup exists in.BackupSummary.Buildercopy(BackupSummary model)BackupSummary.BuildercreationType(Backup.CreationType creationType)If the backup was created automatically, or by a manual request.BackupSummary.BuilderdataStorageSizeInGBs(Integer dataStorageSizeInGBs)Size of the data volume in GiBs.BackupSummary.BuilderdbSystemId(String dbSystemId)The OCID of the DB System the Backup is associated with.BackupSummary.BuilderdbSystemSnapshotSummary(DbSystemSnapshotSummary dbSystemSnapshotSummary)BackupSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.BackupSummary.Builderdescription(String description)A user-supplied description of the backup.BackupSummary.BuilderdisplayName(String displayName)A user-supplied display name for the backup.BackupSummary.BuilderencryptData(EncryptDataDetails encryptData)BackupSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.BackupSummary.Builderid(String id)OCID of the backup.BackupSummary.BuilderimmediateSourceBackupId(String immediateSourceBackupId)The OCID of the immediate source DB system backup from which this DB system backup was copied.BackupSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycleState.BackupSummary.BuilderlifecycleState(Backup.LifecycleState lifecycleState)The state of the backup.BackupSummary.BuildermysqlVersion(String mysqlVersion)The version of the DB System used for backup.BackupSummary.BuilderoriginalSourceBackupId(String originalSourceBackupId)The OCID of the original source DB system backup from which this DB system backup was copied.BackupSummary.BuilderretentionInDays(Integer retentionInDays)Number of days to retain this backup.BackupSummary.BuildershapeName(String shapeName)The shape of the DB System instance used for backup.BackupSummary.BuildersoftDelete(SoftDelete softDelete)Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it.BackupSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.BackupSummary.BuildertimeCopyCreated(Date timeCopyCreated)The date and time the DB system backup copy was created, as described by RFC 3339.BackupSummary.BuildertimeCreated(Date timeCreated)The time the backup was created.BackupSummary.BuildervalidationStatus(BackupValidationDetails.ValidationStatus validationStatus)Status of the backup validation.
 
- 
- 
- 
Method Detail- 
idpublic BackupSummary.Builder id(String id) OCID of the backup.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic BackupSummary.Builder displayName(String displayName) A user-supplied display name for the backup.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic BackupSummary.Builder description(String description) A user-supplied description of the backup.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
softDeletepublic BackupSummary.Builder softDelete(SoftDelete softDelete) Retains the backup to be deleted due to the retention policy in DELETE SCHEDULED state for 7 days before permanently deleting it.- Parameters:
- softDelete- the value to set
- Returns:
- this builder
 
 - 
backupPreparationStatuspublic BackupSummary.Builder backupPreparationStatus(BackupValidationDetails.BackupPreparationStatus backupPreparationStatus) Indicates whether the backup has been prepared successfully.- Parameters:
- backupPreparationStatus- the value to set
- Returns:
- this builder
 
 - 
validationStatuspublic BackupSummary.Builder validationStatus(BackupValidationDetails.ValidationStatus validationStatus) Status of the backup validation.- Parameters:
- validationStatus- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic BackupSummary.Builder timeCreated(Date timeCreated) The time the backup was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic BackupSummary.Builder lifecycleState(Backup.LifecycleState lifecycleState) The state of the backup.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic BackupSummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycleState.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
backupTypepublic BackupSummary.Builder backupType(Backup.BackupType backupType) The type of backup.- Parameters:
- backupType- the value to set
- Returns:
- this builder
 
 - 
creationTypepublic BackupSummary.Builder creationType(Backup.CreationType creationType) If the backup was created automatically, or by a manual request.- Parameters:
- creationType- the value to set
- Returns:
- this builder
 
 - 
dbSystemIdpublic BackupSummary.Builder dbSystemId(String dbSystemId) The OCID of the DB System the Backup is associated with.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic BackupSummary.Builder compartmentId(String compartmentId) The OCID of the compartment the backup exists in.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
dataStorageSizeInGBspublic BackupSummary.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs) Size of the data volume in GiBs.- Parameters:
- dataStorageSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
backupSizeInGBspublic BackupSummary.Builder backupSizeInGBs(Integer backupSizeInGBs) The size of the backup in GiBs.- Parameters:
- backupSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
retentionInDayspublic BackupSummary.Builder retentionInDays(Integer retentionInDays) Number of days to retain this backup.- Parameters:
- retentionInDays- the value to set
- Returns:
- this builder
 
 - 
mysqlVersionpublic BackupSummary.Builder mysqlVersion(String mysqlVersion) The version of the DB System used for backup.- Parameters:
- mysqlVersion- the value to set
- Returns:
- this builder
 
 - 
shapeNamepublic BackupSummary.Builder shapeName(String shapeName) The shape of the DB System instance used for backup.- Parameters:
- shapeName- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic BackupSummary.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic BackupSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic BackupSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
immediateSourceBackupIdpublic BackupSummary.Builder immediateSourceBackupId(String immediateSourceBackupId) The OCID of the immediate source DB system backup from which this DB system backup was copied.- Parameters:
- immediateSourceBackupId- the value to set
- Returns:
- this builder
 
 - 
originalSourceBackupIdpublic BackupSummary.Builder originalSourceBackupId(String originalSourceBackupId) The OCID of the original source DB system backup from which this DB system backup was copied.- Parameters:
- originalSourceBackupId- the value to set
- Returns:
- this builder
 
 - 
timeCopyCreatedpublic BackupSummary.Builder timeCopyCreated(Date timeCopyCreated) The date and time the DB system backup copy was created, as described by RFC 3339.- Parameters:
- timeCopyCreated- the value to set
- Returns:
- this builder
 
 - 
dbSystemSnapshotSummarypublic BackupSummary.Builder dbSystemSnapshotSummary(DbSystemSnapshotSummary dbSystemSnapshotSummary) 
 - 
encryptDatapublic BackupSummary.Builder encryptData(EncryptDataDetails encryptData) 
 - 
buildpublic BackupSummary build() 
 - 
copypublic BackupSummary.Builder copy(BackupSummary model) 
 
- 
 
-