Class AutonomousDatabaseBackupSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.AutonomousDatabaseBackupSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabaseBackupSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An Autonomous Database backup.To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Note: Objects should always be created or deserialized using theAutonomousDatabaseBackupSummary.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 theAutonomousDatabaseBackupSummary.Builder
, which maintain a set of all explicitly set fields calledAutonomousDatabaseBackupSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AutonomousDatabaseBackupSummary.Builder
static class
AutonomousDatabaseBackupSummary.LifecycleState
The current state of the backup.static class
AutonomousDatabaseBackupSummary.Type
The type of backup.
-
Constructor Summary
Constructors Constructor Description AutonomousDatabaseBackupSummary(String id, String compartmentId, String autonomousDatabaseId, String displayName, AutonomousDatabaseBackupSummary.Type type, Boolean isAutomatic, Date timeStarted, Date timeEnded, String lifecycleDetails, BigDecimal databaseSizeInTBs, AutonomousDatabaseBackupSummary.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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutonomousDatabaseBackupSummary.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.AutonomousDatabaseBackupSummary.LifecycleState
getLifecycleState()
The current state of the backup.Integer
getRetentionPeriodInDays()
Retention period, in days, for long-term backupsDouble
getSizeInTBs()
The backup size in terrabytes (TB).Date
getTimeAvailableTill()
Timestamp until when the backup will be availableDate
getTimeEnded()
The date and time the backup completed.Date
getTimeStarted()
The date and time the backup started.AutonomousDatabaseBackupSummary.Type
getType()
The type of backup.String
getVaultId()
int
hashCode()
AutonomousDatabaseBackupSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AutonomousDatabaseBackupSummary
@Deprecated @ConstructorProperties({"id","compartmentId","autonomousDatabaseId","displayName","type","isAutomatic","timeStarted","timeEnded","lifecycleDetails","databaseSizeInTBs","lifecycleState","isRestorable","keyStoreId","keyStoreWalletName","kmsKeyId","vaultId","kmsKeyVersionId","retentionPeriodInDays","timeAvailableTill","dbVersion","sizeInTBs","backupDestinationDetails"}) public AutonomousDatabaseBackupSummary(String id, String compartmentId, String autonomousDatabaseId, String displayName, AutonomousDatabaseBackupSummary.Type type, Boolean isAutomatic, Date timeStarted, Date timeEnded, String lifecycleDetails, BigDecimal databaseSizeInTBs, AutonomousDatabaseBackupSummary.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.
-
-
Method Detail
-
builder
public static AutonomousDatabaseBackupSummary.Builder builder()
Create a new builder.
-
toBuilder
public AutonomousDatabaseBackupSummary.Builder toBuilder()
-
getAutonomousDatabaseId
public String getAutonomousDatabaseId()
The OCID of the Autonomous Database.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The user-friendly name for the backup.The name does not have to be unique.
- Returns:
- the value
-
getType
public AutonomousDatabaseBackupSummary.Type getType()
The type of backup.- Returns:
- the value
-
getIsAutomatic
public Boolean getIsAutomatic()
Indicates whether the backup is user-initiated or automatic.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The date and time the backup started.- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The date and time the backup completed.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Additional information about the current lifecycle state.- Returns:
- the value
-
getDatabaseSizeInTBs
public BigDecimal getDatabaseSizeInTBs()
The size of the database in terabytes at the time the backup was taken.- Returns:
- the value
-
getLifecycleState
public AutonomousDatabaseBackupSummary.LifecycleState getLifecycleState()
The current state of the backup.- Returns:
- the value
-
getIsRestorable
public Boolean getIsRestorable()
Indicates whether the backup can be used to restore the associated Autonomous Database.- Returns:
- the value
-
getKeyStoreId
public String getKeyStoreId()
The OCID of the key store of Oracle Vault.- Returns:
- the value
-
getKeyStoreWalletName
public String getKeyStoreWalletName()
The wallet name for Oracle Key Vault.- Returns:
- the value
-
getKmsKeyId
public String getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.- Returns:
- the value
-
getVaultId
public String getVaultId()
The OCID of the Oracle Cloud Infrastructure vault.This parameter and secretId are required for Customer Managed Keys.
- Returns:
- the value
-
getKmsKeyVersionId
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.
- Returns:
- the value
-
getRetentionPeriodInDays
public Integer getRetentionPeriodInDays()
Retention period, in days, for long-term backups- Returns:
- the value
-
getTimeAvailableTill
public Date getTimeAvailableTill()
Timestamp until when the backup will be available- Returns:
- the value
-
getDbVersion
public String getDbVersion()
A valid Oracle Database version for Autonomous Database.- Returns:
- the value
-
getSizeInTBs
public Double getSizeInTBs()
The backup size in terrabytes (TB).- Returns:
- the value
-
getBackupDestinationDetails
public BackupDestinationDetails getBackupDestinationDetails()
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-