@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class BackupSummary extends Object
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(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.
|
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BackupSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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 |
getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
|
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 |
getVersion()
Version of the backup’s source database
|
int |
hashCode() |
BackupSummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","databaseId","displayName","type","timeStarted","timeEnded","lifecycleDetails","availabilityDomain","lifecycleState","databaseEdition","databaseSizeInGBs","shape","version","kmsKeyId"}) @Deprecated 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)
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.
Copyright © 2016–2021. All rights reserved.