@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbBackupConfig extends Object
Backup Options 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.
Note: Objects should always be created or deserialized using the DbBackupConfig.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 DbBackupConfig.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 |
DbBackupConfig.Builder |
Constructor and Description |
---|
DbBackupConfig(Boolean autoBackupEnabled,
Integer recoveryWindowInDays)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DbBackupConfig.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Boolean |
getAutoBackupEnabled()
If set to true, configures automatic backups.
|
Integer |
getRecoveryWindowInDays()
Number of days between the current and the earliest point of recoverability covered by automatic backups.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"autoBackupEnabled","recoveryWindowInDays"}) @Deprecated public DbBackupConfig(Boolean autoBackupEnabled, Integer recoveryWindowInDays)
public static DbBackupConfig.Builder builder()
Create a new builder.
public Boolean getAutoBackupEnabled()
If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
public Integer getRecoveryWindowInDays()
Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups.
Copyright © 2016–2019. All rights reserved.