Package com.oracle.bmc.database.model
Class BackupSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.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.BuilderavailabilityDomain(String availabilityDomain)The name of the availability domain where the database backup is stored.BackupSummary.BuilderbackupDestinationType(BackupSummary.BackupDestinationType backupDestinationType)Type of the backup destination.BackupSummarybuild()BackupSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.BackupSummary.Buildercopy(BackupSummary model)BackupSummary.BuilderdatabaseEdition(BackupSummary.DatabaseEdition databaseEdition)The Oracle Database Edition that applies to all the databases on the DB system.BackupSummary.BuilderdatabaseId(String databaseId)The OCID of the database.BackupSummary.BuilderdatabaseSizeInGBs(Double databaseSizeInGBs)The size of the database in gigabytes at the time the backup was taken.BackupSummary.BuilderdisplayName(String displayName)The user-friendly name for the backup.BackupSummary.BuilderencryptionKeyLocationDetails(EncryptionKeyLocationDetails encryptionKeyLocationDetails)BackupSummary.Builderid(String id)The OCID of the backup.BackupSummary.BuilderisUsingOracleManagedKeys(Boolean isUsingOracleManagedKeys)True if Oracle Managed Keys is required for restore of the backup.BackupSummary.BuilderkeyStoreId(String keyStoreId)The OCID of the key store of Oracle Vault.BackupSummary.BuilderkeyStoreWalletName(String keyStoreWalletName)The wallet name for Oracle Key Vault.BackupSummary.BuilderkmsKeyId(String kmsKeyId)The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.BackupSummary.BuilderkmsKeyVersionId(String kmsKeyVersionId)The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.BackupSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.BackupSummary.BuilderlifecycleState(BackupSummary.LifecycleState lifecycleState)The current state of the backup.BackupSummary.BuilderretentionPeriodInDays(Integer retentionPeriodInDays)The retention period of the long term backup in days.BackupSummary.BuilderretentionPeriodInYears(Integer retentionPeriodInYears)The retention period of the long term backup in years.BackupSummary.BuildersecondaryKmsKeyIds(List<String> secondaryKmsKeyIds)List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.BackupSummary.Buildershape(String shape)Shape of the backup’s source database.BackupSummary.BuildertimeEnded(Date timeEnded)The date and time the backup was completed.BackupSummary.BuildertimeExpiryScheduled(Date timeExpiryScheduled)Expiration time of the long term database backup.BackupSummary.BuildertimeStarted(Date timeStarted)The date and time the backup started.BackupSummary.Buildertype(BackupSummary.Type type)The type of backup.BackupSummary.BuildervaultId(String vaultId)BackupSummary.Builderversion(String version)Version of the backup’s source database
 
- 
- 
- 
Method Detail- 
idpublic BackupSummary.Builder id(String id) The OCID of the backup.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic BackupSummary.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
databaseIdpublic BackupSummary.Builder databaseId(String databaseId) The OCID of the database.- Parameters:
- databaseId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic BackupSummary.Builder displayName(String displayName) The user-friendly name for the backup.The name does not have to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
typepublic BackupSummary.Builder type(BackupSummary.Type type) The type of backup.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic BackupSummary.Builder timeStarted(Date timeStarted) The date and time the backup started.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic BackupSummary.Builder timeEnded(Date timeEnded) The date and time the backup was completed.- Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic BackupSummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic BackupSummary.Builder availabilityDomain(String availabilityDomain) The name of the availability domain where the database backup is stored.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic BackupSummary.Builder lifecycleState(BackupSummary.LifecycleState lifecycleState) The current state of the backup.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
databaseEditionpublic BackupSummary.Builder databaseEdition(BackupSummary.DatabaseEdition databaseEdition) The Oracle Database Edition that applies to all the databases on the DB system.Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE. - Parameters:
- databaseEdition- the value to set
- Returns:
- this builder
 
 - 
databaseSizeInGBspublic BackupSummary.Builder databaseSizeInGBs(Double databaseSizeInGBs) The size of the database in gigabytes at the time the backup was taken.- Parameters:
- databaseSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
shapepublic BackupSummary.Builder shape(String shape) Shape of the backup’s source database.- Parameters:
- shape- the value to set
- Returns:
- this builder
 
 - 
versionpublic BackupSummary.Builder version(String version) Version of the backup’s source database- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
kmsKeyIdpublic BackupSummary.Builder kmsKeyId(String kmsKeyId) The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.- Parameters:
- kmsKeyId- the value to set
- Returns:
- this builder
 
 - 
kmsKeyVersionIdpublic BackupSummary.Builder kmsKeyVersionId(String kmsKeyVersionId) The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances. - Parameters:
- kmsKeyVersionId- the value to set
- Returns:
- this builder
 
 - 
vaultIdpublic BackupSummary.Builder vaultId(String vaultId) The OCID of the Oracle Cloud Infrastructure vault.This parameter and secretId are required for Customer Managed Keys. - Parameters:
- vaultId- the value to set
- Returns:
- this builder
 
 - 
keyStoreIdpublic BackupSummary.Builder keyStoreId(String keyStoreId) The OCID of the key store of Oracle Vault.- Parameters:
- keyStoreId- the value to set
- Returns:
- this builder
 
 - 
keyStoreWalletNamepublic BackupSummary.Builder keyStoreWalletName(String keyStoreWalletName) The wallet name for Oracle Key Vault.- Parameters:
- keyStoreWalletName- the value to set
- Returns:
- this builder
 
 - 
secondaryKmsKeyIdspublic BackupSummary.Builder secondaryKmsKeyIds(List<String> secondaryKmsKeyIds) List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.- Parameters:
- secondaryKmsKeyIds- the value to set
- Returns:
- this builder
 
 - 
retentionPeriodInDayspublic BackupSummary.Builder retentionPeriodInDays(Integer retentionPeriodInDays) The retention period of the long term backup in days.- Parameters:
- retentionPeriodInDays- the value to set
- Returns:
- this builder
 
 - 
retentionPeriodInYearspublic BackupSummary.Builder retentionPeriodInYears(Integer retentionPeriodInYears) The retention period of the long term backup in years.- Parameters:
- retentionPeriodInYears- the value to set
- Returns:
- this builder
 
 - 
timeExpiryScheduledpublic BackupSummary.Builder timeExpiryScheduled(Date timeExpiryScheduled) Expiration time of the long term database backup.- Parameters:
- timeExpiryScheduled- the value to set
- Returns:
- this builder
 
 - 
isUsingOracleManagedKeyspublic BackupSummary.Builder isUsingOracleManagedKeys(Boolean isUsingOracleManagedKeys) True if Oracle Managed Keys is required for restore of the backup.- Parameters:
- isUsingOracleManagedKeys- the value to set
- Returns:
- this builder
 
 - 
backupDestinationTypepublic BackupSummary.Builder backupDestinationType(BackupSummary.BackupDestinationType backupDestinationType) Type of the backup destination.- Parameters:
- backupDestinationType- the value to set
- Returns:
- this builder
 
 - 
encryptionKeyLocationDetailspublic BackupSummary.Builder encryptionKeyLocationDetails(EncryptionKeyLocationDetails encryptionKeyLocationDetails) 
 - 
buildpublic BackupSummary build() 
 - 
copypublic BackupSummary.Builder copy(BackupSummary model) 
 
- 
 
-