Package com.oracle.bmc.psql.model
Class Backup.Builder
- java.lang.Object
- 
- com.oracle.bmc.psql.model.Backup.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Backup.BuilderbackupSize(Integer backupSize)The size of the backup, in gigabytes.Backupbuild()Backup.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the backup.Backup.Buildercopy(Backup model)Backup.BuildercopyStatus(List<BackupCopyStatusDetails> copyStatus)List of status for Backup CopyBackup.BuilderdbSystemDetails(DbSystemDetails dbSystemDetails)Backup.BuilderdbSystemId(String dbSystemId)The OCID of the backup’s source database system.Backup.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Backup.Builderdescription(String description)A description for the backup.Backup.BuilderdisplayName(String displayName)A user-friendly display name for the backup.Backup.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Backup.Builderid(String id)The OCID of the backup.Backup.BuilderlastAcceptedRequestToken(String lastAcceptedRequestToken)lastAcceptedRequestToken from MP.Backup.BuilderlastCompletedRequestToken(String lastCompletedRequestToken)lastCompletedRequestToken from MP.Backup.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Backup.BuilderlifecycleState(Backup.LifecycleState lifecycleState)The current state of the backup.Backup.BuilderretentionPeriod(Integer retentionPeriod)Backup retention period in days.Backup.BuildersourceBackupDetails(SourceBackupDetails sourceBackupDetails)Backup.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.Backup.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Backup.BuildertimeCreated(Date timeCreated)The date and time the backup request was received, expressed in RFC 3339 timestamp format.Backup.BuildertimeCreatedPrecise(Date timeCreatedPrecise)The date and time the backup was created.Backup.BuildertimeUpdated(Date timeUpdated)The date and time the backup was updated, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic Backup.Builder id(String id) The OCID of the backup.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Backup.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
 
 - 
descriptionpublic Backup.Builder description(String description) A description for the backup.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Backup.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the backup.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
sourceTypepublic Backup.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
 
 - 
timeCreatedpublic Backup.Builder timeCreated(Date timeCreated) The date and time the backup request was received, expressed in RFC 3339 timestamp format.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeCreatedPrecisepublic Backup.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
 
 - 
timeUpdatedpublic Backup.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 Backup.Builder lifecycleState(Backup.LifecycleState lifecycleState) The current state of the backup.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Backup.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
 
 - 
retentionPeriodpublic Backup.Builder retentionPeriod(Integer retentionPeriod) Backup retention period in days.- Parameters:
- retentionPeriod- the value to set
- Returns:
- this builder
 
 - 
backupSizepublic Backup.Builder backupSize(Integer backupSize) The size of the backup, in gigabytes.- Parameters:
- backupSize- the value to set
- Returns:
- this builder
 
 - 
dbSystemIdpublic Backup.Builder dbSystemId(String dbSystemId) The OCID of the backup’s source database system.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder
 
 - 
dbSystemDetailspublic Backup.Builder dbSystemDetails(DbSystemDetails dbSystemDetails) 
 - 
sourceBackupDetailspublic Backup.Builder sourceBackupDetails(SourceBackupDetails sourceBackupDetails) 
 - 
lastAcceptedRequestTokenpublic Backup.Builder lastAcceptedRequestToken(String lastAcceptedRequestToken) lastAcceptedRequestToken from MP.- Parameters:
- lastAcceptedRequestToken- the value to set
- Returns:
- this builder
 
 - 
lastCompletedRequestTokenpublic Backup.Builder lastCompletedRequestToken(String lastCompletedRequestToken) lastCompletedRequestToken from MP.- Parameters:
- lastCompletedRequestToken- the value to set
- Returns:
- this builder
 
 - 
copyStatuspublic Backup.Builder copyStatus(List<BackupCopyStatusDetails> copyStatus) List of status for Backup Copy- Parameters:
- copyStatus- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Backup.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 Backup.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 Backup.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 Backup build() 
 - 
copypublic Backup.Builder copy(Backup model) 
 
- 
 
-