Package com.oracle.bmc.psql.model
Class BackupSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.psql.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.BuilderbackupSize(Integer backupSize)The size of the backup, in gigabytes.BackupSummarybuild()BackupSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the backup.BackupSummary.Buildercopy(BackupSummary model)BackupSummary.BuildercopyStatus(List<BackupCopyStatusDetails> copyStatus)List of status for Backup CopyBackupSummary.BuilderdbSystemId(String dbSystemId)The backup’s source database system’s OCID.BackupSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.BackupSummary.BuilderdisplayName(String displayName)A user-friendly display name for the backup.BackupSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.BackupSummary.Builderid(String id)A unique identifier for the backup.BackupSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.BackupSummary.BuilderlifecycleState(Backup.LifecycleState lifecycleState)The current state of the backup.BackupSummary.BuilderretentionPeriod(Integer retentionPeriod)Backup retention period in days.BackupSummary.BuildersourceType(Backup.SourceType sourceType)Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.BackupSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.BackupSummary.BuildertimeCreated(Date timeCreated)The date and time the backup was created, expressed in RFC 3339 timestamp format.BackupSummary.BuildertimeCreatedPrecise(Date timeCreatedPrecise)The date and time the backup was created.BackupSummary.BuildertimeUpdated(Date timeUpdated)The date and time the backup was updated, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic BackupSummary.Builder id(String id) A unique identifier for the backup.Immutable on creation. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic BackupSummary.Builder displayName(String displayName) A user-friendly display name for the backup.Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic BackupSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the backup.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic BackupSummary.Builder timeCreated(Date timeCreated) The date and time the backup was created, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic BackupSummary.Builder timeUpdated(Date timeUpdated) The date and time the backup was updated, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic BackupSummary.Builder lifecycleState(Backup.LifecycleState lifecycleState) The current state of the backup.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic BackupSummary.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
sourceTypepublic BackupSummary.Builder sourceType(Backup.SourceType sourceType) Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.- Parameters:
- sourceType- the value to set
- Returns:
- this builder
 
 - 
timeCreatedPrecisepublic BackupSummary.Builder timeCreatedPrecise(Date timeCreatedPrecise) The date and time the backup was created.This is the time the actual point-in-time data snapshot was taken, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreatedPrecise- the value to set
- Returns:
- this builder
 
 - 
backupSizepublic BackupSummary.Builder backupSize(Integer backupSize) The size of the backup, in gigabytes.- Parameters:
- backupSize- the value to set
- Returns:
- this builder
 
 - 
dbSystemIdpublic BackupSummary.Builder dbSystemId(String dbSystemId) The backup’s source database system’s OCID.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder
 
 - 
retentionPeriodpublic BackupSummary.Builder retentionPeriod(Integer retentionPeriod) Backup retention period in days.- Parameters:
- retentionPeriod- the value to set
- Returns:
- this builder
 
 - 
copyStatuspublic BackupSummary.Builder copyStatus(List<BackupCopyStatusDetails> copyStatus) List of status for Backup Copy- Parameters:
- copyStatus- 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) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic BackupSummary build() 
 - 
copypublic BackupSummary.Builder copy(BackupSummary model) 
 
- 
 
-