@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabaseBackup extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An Autonomous Database backup.
Note: Objects should always be created or deserialized using the AutonomousDatabaseBackup.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the AutonomousDatabaseBackup.Builder
, which maintain a
set of all explicitly set fields called AutonomousDatabaseBackup.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AutonomousDatabaseBackup.Builder |
static class |
AutonomousDatabaseBackup.LifecycleState
The current state of the backup.
|
static class |
AutonomousDatabaseBackup.Type
The type of backup.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AutonomousDatabaseBackup(String id,
String compartmentId,
String autonomousDatabaseId,
String displayName,
AutonomousDatabaseBackup.Type type,
Boolean isAutomatic,
Date timeStarted,
Date timeEnded,
String lifecycleDetails,
BigDecimal databaseSizeInTBs,
AutonomousDatabaseBackup.LifecycleState lifecycleState,
Boolean isRestorable,
String keyStoreId,
String keyStoreWalletName,
String kmsKeyId,
String vaultId,
String kmsKeyVersionId,
Integer retentionPeriodInDays,
Date timeAvailableTill,
String dbVersion,
Double sizeInTBs,
BackupDestinationDetails backupDestinationDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutonomousDatabaseBackup.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAutonomousDatabaseId()
The OCID of the
Autonomous Database.
|
BackupDestinationDetails |
getBackupDestinationDetails() |
String |
getCompartmentId()
The OCID of the
compartment.
|
BigDecimal |
getDatabaseSizeInTBs()
The size of the database in terabytes at the time the backup was taken.
|
String |
getDbVersion()
A valid Oracle Database version for Autonomous Database.
|
String |
getDisplayName()
The user-friendly name for the backup.
|
String |
getId()
The OCID of the
Autonomous Database backup.
|
Boolean |
getIsAutomatic()
Indicates whether the backup is user-initiated or automatic.
|
Boolean |
getIsRestorable()
Indicates whether the backup can be used to restore the associated Autonomous Database.
|
String |
getKeyStoreId()
The OCID of the key
store of Oracle Vault.
|
String |
getKeyStoreWalletName()
The wallet name for Oracle Key Vault.
|
String |
getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database
transparent data encryption (TDE) operations.
|
String |
getKmsKeyVersionId()
The OCID of the key container version that is used in database transparent data encryption
(TDE) operations KMS Key can have multiple key versions.
|
String |
getLifecycleDetails()
Additional information about the current lifecycle state.
|
AutonomousDatabaseBackup.LifecycleState |
getLifecycleState()
The current state of the backup.
|
Integer |
getRetentionPeriodInDays()
Retention period, in days, for long-term backups
|
Double |
getSizeInTBs()
The backup size in terrabytes (TB).
|
Date |
getTimeAvailableTill()
Timestamp until when the backup will be available
|
Date |
getTimeEnded()
The date and time the backup completed.
|
Date |
getTimeStarted()
The date and time the backup started.
|
AutonomousDatabaseBackup.Type |
getType()
The type of backup.
|
String |
getVaultId()
|
int |
hashCode() |
AutonomousDatabaseBackup.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","compartmentId","autonomousDatabaseId","displayName","type","isAutomatic","timeStarted","timeEnded","lifecycleDetails","databaseSizeInTBs","lifecycleState","isRestorable","keyStoreId","keyStoreWalletName","kmsKeyId","vaultId","kmsKeyVersionId","retentionPeriodInDays","timeAvailableTill","dbVersion","sizeInTBs","backupDestinationDetails"}) public AutonomousDatabaseBackup(String id, String compartmentId, String autonomousDatabaseId, String displayName, AutonomousDatabaseBackup.Type type, Boolean isAutomatic, Date timeStarted, Date timeEnded, String lifecycleDetails, BigDecimal databaseSizeInTBs, AutonomousDatabaseBackup.LifecycleState lifecycleState, Boolean isRestorable, String keyStoreId, String keyStoreWalletName, String kmsKeyId, String vaultId, String kmsKeyVersionId, Integer retentionPeriodInDays, Date timeAvailableTill, String dbVersion, Double sizeInTBs, BackupDestinationDetails backupDestinationDetails)
public static AutonomousDatabaseBackup.Builder builder()
Create a new builder.
public AutonomousDatabaseBackup.Builder toBuilder()
public String getAutonomousDatabaseId()
The OCID of the Autonomous Database.
public String getDisplayName()
The user-friendly name for the backup. The name does not have to be unique.
public AutonomousDatabaseBackup.Type getType()
The type of backup.
public Boolean getIsAutomatic()
Indicates whether the backup is user-initiated or automatic.
public Date getTimeStarted()
The date and time the backup started.
public Date getTimeEnded()
The date and time the backup completed.
public String getLifecycleDetails()
Additional information about the current lifecycle state.
public BigDecimal getDatabaseSizeInTBs()
The size of the database in terabytes at the time the backup was taken.
public AutonomousDatabaseBackup.LifecycleState getLifecycleState()
The current state of the backup.
public Boolean getIsRestorable()
Indicates whether the backup can be used to restore the associated Autonomous Database.
public String getKeyStoreId()
The OCID of the key store of Oracle Vault.
public String getKeyStoreWalletName()
The wallet name for Oracle Key Vault.
public String getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
public String getVaultId()
The OCID of the
Oracle Cloud Infrastructure
vault.
This parameter and secretId
are required for Customer Managed Keys.
public String getKmsKeyVersionId()
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.
public Integer getRetentionPeriodInDays()
Retention period, in days, for long-term backups
public Date getTimeAvailableTill()
Timestamp until when the backup will be available
public String getDbVersion()
A valid Oracle Database version for Autonomous Database.
public Double getSizeInTBs()
The backup size in terrabytes (TB).
public BackupDestinationDetails getBackupDestinationDetails()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.