@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class BackupSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A 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 the BackupSummary.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 BackupSummary.Builder
, which maintain a
set of all explicitly set fields called BackupSummary.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 |
BackupSummary.Builder |
static class |
BackupSummary.DatabaseEdition
The Oracle Database edition of the DB system from which the database backup was taken.
|
static class |
BackupSummary.LifecycleState
The current state of the backup.
|
static class |
BackupSummary.Type
The type of backup.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BackupSummary(String id,
String compartmentId,
String databaseId,
String displayName,
BackupSummary.Type type,
Date timeStarted,
Date timeEnded,
String lifecycleDetails,
String availabilityDomain,
BackupSummary.LifecycleState lifecycleState,
BackupSummary.DatabaseEdition databaseEdition,
Double databaseSizeInGBs,
String shape,
String version,
String kmsKeyId,
String kmsKeyVersionId,
String vaultId,
String keyStoreId,
String keyStoreWalletName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BackupSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAvailabilityDomain()
The name of the availability domain where the database backup is stored.
|
String |
getCompartmentId()
The OCID of the
compartment.
|
BackupSummary.DatabaseEdition |
getDatabaseEdition()
The Oracle Database edition of the DB system from which the database backup was taken.
|
String |
getDatabaseId()
The OCID of the
database.
|
Double |
getDatabaseSizeInGBs()
The size of the database in gigabytes at the time the backup was taken.
|
String |
getDisplayName()
The user-friendly name for the backup.
|
String |
getId()
The OCID of the
backup.
|
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.
|
BackupSummary.LifecycleState |
getLifecycleState()
The current state of the backup.
|
String |
getShape()
Shape of the backup’s source database.
|
Date |
getTimeEnded()
The date and time the backup was completed.
|
Date |
getTimeStarted()
The date and time the backup started.
|
BackupSummary.Type |
getType()
The type of backup.
|
String |
getVaultId()
|
String |
getVersion()
Version of the backup’s source database
|
int |
hashCode() |
BackupSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","compartmentId","databaseId","displayName","type","timeStarted","timeEnded","lifecycleDetails","availabilityDomain","lifecycleState","databaseEdition","databaseSizeInGBs","shape","version","kmsKeyId","kmsKeyVersionId","vaultId","keyStoreId","keyStoreWalletName"}) public BackupSummary(String id, String compartmentId, String databaseId, String displayName, BackupSummary.Type type, Date timeStarted, Date timeEnded, String lifecycleDetails, String availabilityDomain, BackupSummary.LifecycleState lifecycleState, BackupSummary.DatabaseEdition databaseEdition, Double databaseSizeInGBs, String shape, String version, String kmsKeyId, String kmsKeyVersionId, String vaultId, String keyStoreId, String keyStoreWalletName)
public static BackupSummary.Builder builder()
Create a new builder.
public BackupSummary.Builder toBuilder()
public String getDisplayName()
The user-friendly name for the backup. The name does not have to be unique.
public BackupSummary.Type getType()
The type of backup.
public Date getTimeStarted()
The date and time the backup started.
public Date getTimeEnded()
The date and time the backup was completed.
public String getLifecycleDetails()
Additional information about the current lifecycle state.
public String getAvailabilityDomain()
The name of the availability domain where the database backup is stored.
public BackupSummary.LifecycleState getLifecycleState()
The current state of the backup.
public BackupSummary.DatabaseEdition getDatabaseEdition()
The Oracle Database edition of the DB system from which the database backup was taken.
public Double getDatabaseSizeInGBs()
The size of the database in gigabytes at the time the backup was taken.
public String getShape()
Shape of the backup’s source database.
public String getVersion()
Version of the backup’s source database
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 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 String getVaultId()
The OCID of the
Oracle Cloud Infrastructure
vault.
This parameter and secretId
are required for Customer Managed Keys.
public String getKeyStoreId()
The OCID of the key store of Oracle Vault.
public String getKeyStoreWalletName()
The wallet name for Oracle Key Vault.
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.