@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)
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 |
getLifecycleDetails()
Additional information about the current lifecycleState.
|
BackupSummary.LifecycleState |
getLifecycleState()
The current state of the backup.
|
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.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","databaseId","displayName","type","timeStarted","timeEnded","lifecycleDetails","availabilityDomain","lifecycleState","databaseEdition","databaseSizeInGBs"}) @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)
public static BackupSummary.Builder builder()
Create a new builder.
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 lifecycleState.
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.
Copyright © 2016–2019. All rights reserved.