@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabaseBackupSummary extends Object
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 the AutonomousDatabaseBackupSummary.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 AutonomousDatabaseBackupSummary.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 |
AutonomousDatabaseBackupSummary.Builder |
static class |
AutonomousDatabaseBackupSummary.LifecycleState
The current state of the backup.
|
static class |
AutonomousDatabaseBackupSummary.Type
The type of backup.
|
Constructor and 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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutonomousDatabaseBackupSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAutonomousDatabaseId()
The OCID of the Autonomous Database.
|
String |
getCompartmentId()
The OCID of the compartment.
|
BigDecimal |
getDatabaseSizeInTBs()
The size of the database in terabytes at the time the backup was taken.
|
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 |
getLifecycleDetails()
Additional information about the current lifecycle state.
|
AutonomousDatabaseBackupSummary.LifecycleState |
getLifecycleState()
The current state of the backup.
|
Date |
getTimeEnded()
The date and time the backup completed.
|
Date |
getTimeStarted()
The date and time the backup started.
|
AutonomousDatabaseBackupSummary.Type |
getType()
The type of backup.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","autonomousDatabaseId","displayName","type","isAutomatic","timeStarted","timeEnded","lifecycleDetails","databaseSizeInTBs","lifecycleState","isRestorable"}) @Deprecated 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)
public static AutonomousDatabaseBackupSummary.Builder builder()
Create a new builder.
public String getAutonomousDatabaseId()
The OCID of the Autonomous Database.
public String getDisplayName()
The user-friendly name for the backup. The name does not have to be unique.
public AutonomousDatabaseBackupSummary.Type getType()
The type of backup.
public Boolean getIsAutomatic()
Indicates whether the backup is user-initiated or automatic.
public Date getTimeStarted()
The date and time the backup started.
public Date getTimeEnded()
The date and time the backup completed.
public String getLifecycleDetails()
Additional information about the current lifecycle state.
public BigDecimal getDatabaseSizeInTBs()
The size of the database in terabytes at the time the backup was taken.
public AutonomousDatabaseBackupSummary.LifecycleState getLifecycleState()
The current state of the backup.
public Boolean getIsRestorable()
Indicates whether the backup can be used to restore the associated Autonomous Database.
Copyright © 2016–2020. All rights reserved.