@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabaseBackup extends Object
An Autonomous Database backup.
Note: Objects should always be created or deserialized using the AutonomousDatabaseBackup.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 AutonomousDatabaseBackup.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 |
AutonomousDatabaseBackup.Builder |
static class |
AutonomousDatabaseBackup.LifecycleState
The current state of the backup.
|
static class |
AutonomousDatabaseBackup.Type
The type of backup.
|
Constructor and Description |
---|
AutonomousDatabaseBackup(String id,
String compartmentId,
String autonomousDatabaseId,
String displayName,
AutonomousDatabaseBackup.Type type,
Boolean isAutomatic,
Date timeStarted,
Date timeEnded,
String lifecycleDetails,
BigDecimal databaseSizeInTBs,
AutonomousDatabaseBackup.LifecycleState lifecycleState,
Boolean isRestorable)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutonomousDatabaseBackup.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.
|
AutonomousDatabaseBackup.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.
|
AutonomousDatabaseBackup.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 AutonomousDatabaseBackup(String id, String compartmentId, String autonomousDatabaseId, String displayName, AutonomousDatabaseBackup.Type type, Boolean isAutomatic, Date timeStarted, Date timeEnded, String lifecycleDetails, BigDecimal databaseSizeInTBs, AutonomousDatabaseBackup.LifecycleState lifecycleState, Boolean isRestorable)
public static AutonomousDatabaseBackup.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 AutonomousDatabaseBackup.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 AutonomousDatabaseBackup.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.