public static class AutonomousDatabaseBackup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutonomousDatabaseBackup.Builder |
autonomousDatabaseId(String autonomousDatabaseId)
The OCID of the
Autonomous Database.
|
AutonomousDatabaseBackup.Builder |
backupDestinationDetails(BackupDestinationDetails backupDestinationDetails) |
AutonomousDatabaseBackup |
build() |
AutonomousDatabaseBackup.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
AutonomousDatabaseBackup.Builder |
copy(AutonomousDatabaseBackup model) |
AutonomousDatabaseBackup.Builder |
databaseSizeInTBs(BigDecimal databaseSizeInTBs)
The size of the database in terabytes at the time the backup was taken.
|
AutonomousDatabaseBackup.Builder |
dbVersion(String dbVersion)
A valid Oracle Database version for Autonomous Database.
|
AutonomousDatabaseBackup.Builder |
displayName(String displayName)
The user-friendly name for the backup.
|
AutonomousDatabaseBackup.Builder |
id(String id)
The OCID of the
Autonomous Database backup.
|
AutonomousDatabaseBackup.Builder |
isAutomatic(Boolean isAutomatic)
Indicates whether the backup is user-initiated or automatic.
|
AutonomousDatabaseBackup.Builder |
isRestorable(Boolean isRestorable)
Indicates whether the backup can be used to restore the associated Autonomous Database.
|
AutonomousDatabaseBackup.Builder |
keyStoreId(String keyStoreId)
The OCID of the
key store of Oracle Vault.
|
AutonomousDatabaseBackup.Builder |
keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
|
AutonomousDatabaseBackup.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.
|
AutonomousDatabaseBackup.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.
|
AutonomousDatabaseBackup.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
AutonomousDatabaseBackup.Builder |
lifecycleState(AutonomousDatabaseBackup.LifecycleState lifecycleState)
The current state of the backup.
|
AutonomousDatabaseBackup.Builder |
retentionPeriodInDays(Integer retentionPeriodInDays)
Retention period, in days, for long-term backups
|
AutonomousDatabaseBackup.Builder |
sizeInTBs(Double sizeInTBs)
The backup size in terrabytes (TB).
|
AutonomousDatabaseBackup.Builder |
timeAvailableTill(Date timeAvailableTill)
Timestamp until when the backup will be available
|
AutonomousDatabaseBackup.Builder |
timeEnded(Date timeEnded)
The date and time the backup completed.
|
AutonomousDatabaseBackup.Builder |
timeStarted(Date timeStarted)
The date and time the backup started.
|
AutonomousDatabaseBackup.Builder |
type(AutonomousDatabaseBackup.Type type)
The type of backup.
|
AutonomousDatabaseBackup.Builder |
vaultId(String vaultId)
|
public AutonomousDatabaseBackup.Builder id(String id)
The OCID of the Autonomous Database backup.
id
- the value to setpublic AutonomousDatabaseBackup.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic AutonomousDatabaseBackup.Builder autonomousDatabaseId(String autonomousDatabaseId)
The OCID of the Autonomous Database.
autonomousDatabaseId
- the value to setpublic AutonomousDatabaseBackup.Builder displayName(String displayName)
The user-friendly name for the backup. The name does not have to be unique.
displayName
- the value to setpublic AutonomousDatabaseBackup.Builder type(AutonomousDatabaseBackup.Type type)
The type of backup.
type
- the value to setpublic AutonomousDatabaseBackup.Builder isAutomatic(Boolean isAutomatic)
Indicates whether the backup is user-initiated or automatic.
isAutomatic
- the value to setpublic AutonomousDatabaseBackup.Builder timeStarted(Date timeStarted)
The date and time the backup started.
timeStarted
- the value to setpublic AutonomousDatabaseBackup.Builder timeEnded(Date timeEnded)
The date and time the backup completed.
timeEnded
- the value to setpublic AutonomousDatabaseBackup.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic AutonomousDatabaseBackup.Builder databaseSizeInTBs(BigDecimal databaseSizeInTBs)
The size of the database in terabytes at the time the backup was taken.
databaseSizeInTBs
- the value to setpublic AutonomousDatabaseBackup.Builder lifecycleState(AutonomousDatabaseBackup.LifecycleState lifecycleState)
The current state of the backup.
lifecycleState
- the value to setpublic AutonomousDatabaseBackup.Builder isRestorable(Boolean isRestorable)
Indicates whether the backup can be used to restore the associated Autonomous Database.
isRestorable
- the value to setpublic AutonomousDatabaseBackup.Builder keyStoreId(String keyStoreId)
The OCID of the key store of Oracle Vault.
keyStoreId
- the value to setpublic AutonomousDatabaseBackup.Builder keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
keyStoreWalletName
- the value to setpublic AutonomousDatabaseBackup.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.
kmsKeyId
- the value to setpublic AutonomousDatabaseBackup.Builder vaultId(String vaultId)
The OCID of the
Oracle Cloud Infrastructure
vault.
This parameter and secretId
are required for Customer Managed Keys.
vaultId
- the value to setpublic AutonomousDatabaseBackup.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 Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
kmsKeyVersionId
- the value to setpublic AutonomousDatabaseBackup.Builder retentionPeriodInDays(Integer retentionPeriodInDays)
Retention period, in days, for long-term backups
retentionPeriodInDays
- the value to setpublic AutonomousDatabaseBackup.Builder timeAvailableTill(Date timeAvailableTill)
Timestamp until when the backup will be available
timeAvailableTill
- the value to setpublic AutonomousDatabaseBackup.Builder dbVersion(String dbVersion)
A valid Oracle Database version for Autonomous Database.
dbVersion
- the value to setpublic AutonomousDatabaseBackup.Builder sizeInTBs(Double sizeInTBs)
The backup size in terrabytes (TB).
sizeInTBs
- the value to setpublic AutonomousDatabaseBackup.Builder backupDestinationDetails(BackupDestinationDetails backupDestinationDetails)
public AutonomousDatabaseBackup build()
public AutonomousDatabaseBackup.Builder copy(AutonomousDatabaseBackup model)
Copyright © 2016–2024. All rights reserved.