Class BackupSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.BackupSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class BackupSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA 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 theBackupSummary.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 theBackupSummary.Builder, which maintain a set of all explicitly set fields calledBackupSummary.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 SummaryNested Classes Modifier and Type Class Description static classBackupSummary.BackupDestinationTypeType of the backup destination.static classBackupSummary.Builderstatic classBackupSummary.DatabaseEditionThe Oracle Database Edition that applies to all the databases on the DB system.static classBackupSummary.LifecycleStateThe current state of the backup.static classBackupSummary.TypeThe type of backup.
 - 
Constructor SummaryConstructors Constructor 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, List<String> secondaryKmsKeyIds, Integer retentionPeriodInDays, Integer retentionPeriodInYears, Date timeExpiryScheduled, Boolean isUsingOracleManagedKeys, BackupSummary.BackupDestinationType backupDestinationType, EncryptionKeyLocationDetails encryptionKeyLocationDetails)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BackupSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAvailabilityDomain()The name of the availability domain where the database backup is stored.BackupSummary.BackupDestinationTypegetBackupDestinationType()Type of the backup destination.StringgetCompartmentId()The OCID of the compartment.BackupSummary.DatabaseEditiongetDatabaseEdition()The Oracle Database Edition that applies to all the databases on the DB system.StringgetDatabaseId()The OCID of the database.DoublegetDatabaseSizeInGBs()The size of the database in gigabytes at the time the backup was taken.StringgetDisplayName()The user-friendly name for the backup.EncryptionKeyLocationDetailsgetEncryptionKeyLocationDetails()StringgetId()The OCID of the backup.BooleangetIsUsingOracleManagedKeys()True if Oracle Managed Keys is required for restore of the backup.StringgetKeyStoreId()The OCID of the key store of Oracle Vault.StringgetKeyStoreWalletName()The wallet name for Oracle Key Vault.StringgetKmsKeyId()The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.StringgetKmsKeyVersionId()The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.StringgetLifecycleDetails()Additional information about the current lifecycle state.BackupSummary.LifecycleStategetLifecycleState()The current state of the backup.IntegergetRetentionPeriodInDays()The retention period of the long term backup in days.IntegergetRetentionPeriodInYears()The retention period of the long term backup in years.List<String>getSecondaryKmsKeyIds()List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.StringgetShape()Shape of the backup’s source database.DategetTimeEnded()The date and time the backup was completed.DategetTimeExpiryScheduled()Expiration time of the long term database backup.DategetTimeStarted()The date and time the backup started.BackupSummary.TypegetType()The type of backup.StringgetVaultId()StringgetVersion()Version of the backup’s source databaseinthashCode()BackupSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
BackupSummary@Deprecated @ConstructorProperties({"id","compartmentId","databaseId","displayName","type","timeStarted","timeEnded","lifecycleDetails","availabilityDomain","lifecycleState","databaseEdition","databaseSizeInGBs","shape","version","kmsKeyId","kmsKeyVersionId","vaultId","keyStoreId","keyStoreWalletName","secondaryKmsKeyIds","retentionPeriodInDays","retentionPeriodInYears","timeExpiryScheduled","isUsingOracleManagedKeys","backupDestinationType","encryptionKeyLocationDetails"}) 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, List<String> secondaryKmsKeyIds, Integer retentionPeriodInDays, Integer retentionPeriodInYears, Date timeExpiryScheduled, Boolean isUsingOracleManagedKeys, BackupSummary.BackupDestinationType backupDestinationType, EncryptionKeyLocationDetails encryptionKeyLocationDetails) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static BackupSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic BackupSummary.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() The user-friendly name for the backup.The name does not have to be unique. - Returns:
- the value
 
 - 
getTypepublic BackupSummary.Type getType() The type of backup.- Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() The date and time the backup started.- Returns:
- the value
 
 - 
getTimeEndedpublic Date getTimeEnded() The date and time the backup was completed.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Additional information about the current lifecycle state.- Returns:
- the value
 
 - 
getAvailabilityDomainpublic String getAvailabilityDomain() The name of the availability domain where the database backup is stored.- Returns:
- the value
 
 - 
getLifecycleStatepublic BackupSummary.LifecycleState getLifecycleState() The current state of the backup.- Returns:
- the value
 
 - 
getDatabaseEditionpublic BackupSummary.DatabaseEdition getDatabaseEdition() The Oracle Database Edition that applies to all the databases on the DB system.Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE. - Returns:
- the value
 
 - 
getDatabaseSizeInGBspublic Double getDatabaseSizeInGBs() The size of the database in gigabytes at the time the backup was taken.- Returns:
- the value
 
 - 
getShapepublic String getShape() Shape of the backup’s source database.- Returns:
- the value
 
 - 
getVersionpublic String getVersion() Version of the backup’s source database- Returns:
- the value
 
 - 
getKmsKeyIdpublic 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
 
 - 
getKmsKeyVersionIdpublic 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 AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances. - Returns:
- the value
 
 - 
getVaultIdpublic String getVaultId() The OCID of the Oracle Cloud Infrastructure vault.This parameter and secretId are required for Customer Managed Keys. - Returns:
- the value
 
 - 
getKeyStoreIdpublic String getKeyStoreId() The OCID of the key store of Oracle Vault.- Returns:
- the value
 
 - 
getKeyStoreWalletNamepublic String getKeyStoreWalletName() The wallet name for Oracle Key Vault.- Returns:
- the value
 
 - 
getSecondaryKmsKeyIdspublic List<String> getSecondaryKmsKeyIds() List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.- Returns:
- the value
 
 - 
getRetentionPeriodInDayspublic Integer getRetentionPeriodInDays() The retention period of the long term backup in days.- Returns:
- the value
 
 - 
getRetentionPeriodInYearspublic Integer getRetentionPeriodInYears() The retention period of the long term backup in years.- Returns:
- the value
 
 - 
getTimeExpiryScheduledpublic Date getTimeExpiryScheduled() Expiration time of the long term database backup.- Returns:
- the value
 
 - 
getIsUsingOracleManagedKeyspublic Boolean getIsUsingOracleManagedKeys() True if Oracle Managed Keys is required for restore of the backup.- Returns:
- the value
 
 - 
getBackupDestinationTypepublic BackupSummary.BackupDestinationType getBackupDestinationType() Type of the backup destination.- Returns:
- the value
 
 - 
getEncryptionKeyLocationDetailspublic EncryptionKeyLocationDetails getEncryptionKeyLocationDetails() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-