public static class BackupSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackupSummary.Builder |
availabilityDomain(String availabilityDomain)
The name of the availability domain where the database backup is stored.
|
BackupSummary |
build() |
BackupSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
BackupSummary.Builder |
copy(BackupSummary model) |
BackupSummary.Builder |
databaseEdition(BackupSummary.DatabaseEdition databaseEdition)
The Oracle Database edition of the DB system from which the database backup was taken.
|
BackupSummary.Builder |
databaseId(String databaseId)
The OCID of the
database.
|
BackupSummary.Builder |
databaseSizeInGBs(Double databaseSizeInGBs)
The size of the database in gigabytes at the time the backup was taken.
|
BackupSummary.Builder |
displayName(String displayName)
The user-friendly name for the backup.
|
BackupSummary.Builder |
id(String id)
The OCID of the
backup.
|
BackupSummary.Builder |
keyStoreId(String keyStoreId)
The OCID of the
key store of Oracle Vault.
|
BackupSummary.Builder |
keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
|
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.
|
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.
|
BackupSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
BackupSummary.Builder |
lifecycleState(BackupSummary.LifecycleState lifecycleState)
The current state of the backup.
|
BackupSummary.Builder |
shape(String shape)
Shape of the backup’s source database.
|
BackupSummary.Builder |
timeEnded(Date timeEnded)
The date and time the backup was completed.
|
BackupSummary.Builder |
timeStarted(Date timeStarted)
The date and time the backup started.
|
BackupSummary.Builder |
type(BackupSummary.Type type)
The type of backup.
|
BackupSummary.Builder |
vaultId(String vaultId)
|
BackupSummary.Builder |
version(String version)
Version of the backup’s source database
|
public BackupSummary.Builder id(String id)
The OCID of the backup.
id
- the value to setpublic BackupSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic BackupSummary.Builder databaseId(String databaseId)
The OCID of the database.
databaseId
- the value to setpublic BackupSummary.Builder displayName(String displayName)
The user-friendly name for the backup. The name does not have to be unique.
displayName
- the value to setpublic BackupSummary.Builder type(BackupSummary.Type type)
The type of backup.
type
- the value to setpublic BackupSummary.Builder timeStarted(Date timeStarted)
The date and time the backup started.
timeStarted
- the value to setpublic BackupSummary.Builder timeEnded(Date timeEnded)
The date and time the backup was completed.
timeEnded
- the value to setpublic BackupSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic BackupSummary.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain where the database backup is stored.
availabilityDomain
- the value to setpublic BackupSummary.Builder lifecycleState(BackupSummary.LifecycleState lifecycleState)
The current state of the backup.
lifecycleState
- the value to setpublic BackupSummary.Builder databaseEdition(BackupSummary.DatabaseEdition databaseEdition)
The Oracle Database edition of the DB system from which the database backup was taken.
databaseEdition
- the value to setpublic BackupSummary.Builder databaseSizeInGBs(Double databaseSizeInGBs)
The size of the database in gigabytes at the time the backup was taken.
databaseSizeInGBs
- the value to setpublic BackupSummary.Builder shape(String shape)
Shape of the backup’s source database.
shape
- the value to setpublic BackupSummary.Builder version(String version)
Version of the backup’s source database
version
- the value to setpublic 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.
kmsKeyId
- the value to setpublic 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 Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
kmsKeyVersionId
- the value to setpublic BackupSummary.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 BackupSummary.Builder keyStoreId(String keyStoreId)
The OCID of the key store of Oracle Vault.
keyStoreId
- the value to setpublic BackupSummary.Builder keyStoreWalletName(String keyStoreWalletName)
The wallet name for Oracle Key Vault.
keyStoreWalletName
- the value to setpublic BackupSummary build()
public BackupSummary.Builder copy(BackupSummary model)
Copyright © 2016–2024. All rights reserved.