@Generated(value="software.amazon.awssdk:codegen") public final class ModifySnapshotScheduleResponse extends RedshiftResponse implements ToCopyableBuilder<ModifySnapshotScheduleResponse.Builder,ModifySnapshotScheduleResponse>
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 |
ModifySnapshotScheduleResponse.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 ModifySnapshotScheduleResponse.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 ModifySnapshotScheduleResponse.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
An optional set of tags describing the schedule.
|
ModifySnapshotScheduleResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasScheduleDefinitions()
public 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 String scheduleIdentifier()
A unique identifier for the schedule.
public String scheduleDescription()
The description of the schedule.
public boolean hasTags()
public 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 boolean hasNextInvocations()
public 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 Integer associatedClusterCount()
The number of clusters associated with the schedule.
public boolean hasAssociatedClusters()
public 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 ModifySnapshotScheduleResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifySnapshotScheduleResponse.Builder,ModifySnapshotScheduleResponse>toBuilder in class AwsResponsepublic static ModifySnapshotScheduleResponse.Builder builder()
public static Class<? extends ModifySnapshotScheduleResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.