@Generated(value="software.amazon.awssdk:codegen") public final class SnapshotSchedule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnapshotSchedule.Builder,SnapshotSchedule>
Describes a snapshot schedule. You can set a regular interval for creating snapshots of a cluster. You can also schedule snapshots for specific dates.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SnapshotSchedule.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
associatedClusterCount()
The number of clusters associated with the schedule.
|
List<ClusterAssociatedToSchedule> |
associatedClusters()
A list of clusters associated with the schedule.
|
static SnapshotSchedule.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssociatedClusters()
Returns true if the AssociatedClusters property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasNextInvocations()
Returns true if the NextInvocations property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasScheduleDefinitions()
Returns true if the ScheduleDefinitions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<Instant> |
nextInvocations()
|
List<String> |
scheduleDefinitions()
A list of ScheduleDefinitions.
|
String |
scheduleDescription()
The description of the schedule.
|
String |
scheduleIdentifier()
A unique identifier for the schedule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SnapshotSchedule.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
An optional set of tags describing the schedule.
|
SnapshotSchedule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasScheduleDefinitions()
public final List<String> scheduleDefinitions()
A list of ScheduleDefinitions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasScheduleDefinitions() to see if a value was sent in this field.
public final String scheduleIdentifier()
A unique identifier for the schedule.
public final String scheduleDescription()
The description of the schedule.
public final boolean hasTags()
public final List<Tag> tags()
An optional set of tags describing the schedule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final boolean hasNextInvocations()
public final List<Instant> nextInvocations()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNextInvocations() to see if a value was sent in this field.
public final Integer associatedClusterCount()
The number of clusters associated with the schedule.
public final boolean hasAssociatedClusters()
public final List<ClusterAssociatedToSchedule> associatedClusters()
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAssociatedClusters() to see if a value was sent in this field.
public SnapshotSchedule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SnapshotSchedule.Builder,SnapshotSchedule>public static SnapshotSchedule.Builder builder()
public static Class<? extends SnapshotSchedule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.