Package com.oracle.bmc.database.model
Class AutonomousContainerDatabaseBackup.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.AutonomousContainerDatabaseBackup.Builder
 
- 
- Enclosing class:
- AutonomousContainerDatabaseBackup
 
 public static class AutonomousContainerDatabaseBackup.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic AutonomousContainerDatabaseBackup.Builder id(String id) The OCID of the Autonomous AI Database backup.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AutonomousContainerDatabaseBackup.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
autonomousContainerDatabaseIdpublic AutonomousContainerDatabaseBackup.Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseId) The OCID of the Autonomous Container Database.- Parameters:
- autonomousContainerDatabaseId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AutonomousContainerDatabaseBackup.Builder displayName(String displayName) A user-friendly name for the backup.This name need not be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
acdDisplayNamepublic AutonomousContainerDatabaseBackup.Builder acdDisplayName(String acdDisplayName) The user-friendly name for the Autonomous Container Database when the Backup was initiated.This name need not be unique. This field captures the name at the time of backup creation, accounting for possible later updates to the display name. - Parameters:
- acdDisplayName- the value to set
- Returns:
- this builder
 
 - 
typepublic AutonomousContainerDatabaseBackup.Builder type(AutonomousContainerDatabaseBackup.Type type) The type of backup.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
isAutomaticpublic AutonomousContainerDatabaseBackup.Builder isAutomatic(Boolean isAutomatic) Indicates whether the backup is user-initiated or automatic.- Parameters:
- isAutomatic- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic AutonomousContainerDatabaseBackup.Builder timeStarted(Date timeStarted) The date and time the backup started.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic AutonomousContainerDatabaseBackup.Builder timeEnded(Date timeEnded) The date and time the backup completed.- Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic AutonomousContainerDatabaseBackup.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AutonomousContainerDatabaseBackup.Builder lifecycleState(AutonomousContainerDatabaseBackup.LifecycleState lifecycleState) The current state of the backup.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
retentionPeriodInDayspublic AutonomousContainerDatabaseBackup.Builder retentionPeriodInDays(Integer retentionPeriodInDays) Retention period, in days, for long-term backups- Parameters:
- retentionPeriodInDays- the value to set
- Returns:
- this builder
 
 - 
isRemoteBackuppublic AutonomousContainerDatabaseBackup.Builder isRemoteBackup(Boolean isRemoteBackup) Whether backup is for remote-region or local region- Parameters:
- isRemoteBackup- the value to set
- Returns:
- this builder
 
 - 
infrastructureTypepublic AutonomousContainerDatabaseBackup.Builder infrastructureType(AutonomousContainerDatabaseBackup.InfrastructureType infrastructureType) The infrastructure type this resource belongs to.- Parameters:
- infrastructureType- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic AutonomousContainerDatabaseBackup.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic AutonomousContainerDatabaseBackup.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic AutonomousContainerDatabaseBackup.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
autonomousDatabasespublic AutonomousContainerDatabaseBackup.Builder autonomousDatabases(List<AutonomousDatabaseInBackup> autonomousDatabases) List of Autonomous AI Databases that is part of this Autonomous Container Database Backup- Parameters:
- autonomousDatabases- the value to set
- Returns:
- this builder
 
 - 
buildpublic AutonomousContainerDatabaseBackup build() 
 - 
copypublic AutonomousContainerDatabaseBackup.Builder copy(AutonomousContainerDatabaseBackup model) 
 
- 
 
-