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