@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class VolumeBackupSchedule extends Object
Defines a chronological recurrence pattern for creating scheduled backups at a particular periodicity.
Note: Objects should always be created or deserialized using the VolumeBackupSchedule.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 VolumeBackupSchedule.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 |
VolumeBackupSchedule.BackupType
The type of backup to create.
|
static class |
VolumeBackupSchedule.Builder |
static class |
VolumeBackupSchedule.Period
How often the backup should occur.
|
Constructor and Description |
---|
VolumeBackupSchedule(VolumeBackupSchedule.BackupType backupType,
Integer offsetSeconds,
VolumeBackupSchedule.Period period,
Integer retentionSeconds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static VolumeBackupSchedule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
VolumeBackupSchedule.BackupType |
getBackupType()
The type of backup to create.
|
Integer |
getOffsetSeconds()
The number of seconds that the backup time should be shifted from the default interval boundaries specified by the period.
|
VolumeBackupSchedule.Period |
getPeriod()
How often the backup should occur.
|
Integer |
getRetentionSeconds()
How long, in seconds, backups created by this schedule should be kept until being automatically deleted.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"backupType","offsetSeconds","period","retentionSeconds"}) @Deprecated public VolumeBackupSchedule(VolumeBackupSchedule.BackupType backupType, Integer offsetSeconds, VolumeBackupSchedule.Period period, Integer retentionSeconds)
public static VolumeBackupSchedule.Builder builder()
Create a new builder.
public VolumeBackupSchedule.BackupType getBackupType()
The type of backup to create.
public Integer getOffsetSeconds()
The number of seconds that the backup time should be shifted from the default interval boundaries specified by the period. Backup time = Frequency start time + Offset.
public VolumeBackupSchedule.Period getPeriod()
How often the backup should occur.
public Integer getRetentionSeconds()
How long, in seconds, backups created by this schedule should be kept until being automatically deleted.
Copyright © 2016–2019. All rights reserved.