@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifySnapshotScheduleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Describes a snapshot schedule. You can set a regular interval for creating snapshots of a cluster. You can also schedule snapshots for specific dates.
Constructor and Description |
---|
ModifySnapshotScheduleResult() |
Modifier and Type | Method and Description |
---|---|
ModifySnapshotScheduleResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getAssociatedClusterCount() |
List<ClusterAssociatedToSchedule> |
getAssociatedClusters() |
List<Date> |
getNextInvocations() |
List<String> |
getScheduleDefinitions()
A list of ScheduleDefinitions
|
String |
getScheduleDescription()
The description of the schedule.
|
String |
getScheduleIdentifier()
A unique identifier for the schedule.
|
List<Tag> |
getTags()
An optional set of tags describing the schedule.
|
int |
hashCode() |
void |
setAssociatedClusterCount(Integer associatedClusterCount) |
void |
setAssociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters) |
void |
setNextInvocations(Collection<Date> nextInvocations) |
void |
setScheduleDefinitions(Collection<String> scheduleDefinitions)
A list of ScheduleDefinitions
|
void |
setScheduleDescription(String scheduleDescription)
The description of the schedule.
|
void |
setScheduleIdentifier(String scheduleIdentifier)
A unique identifier for the schedule.
|
void |
setTags(Collection<Tag> tags)
An optional set of tags describing the schedule.
|
String |
toString()
Returns a string representation of this object.
|
ModifySnapshotScheduleResult |
withAssociatedClusterCount(Integer associatedClusterCount) |
ModifySnapshotScheduleResult |
withAssociatedClusters(ClusterAssociatedToSchedule... associatedClusters)
NOTE: This method appends the values to the existing list (if any).
|
ModifySnapshotScheduleResult |
withAssociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters) |
ModifySnapshotScheduleResult |
withNextInvocations(Collection<Date> nextInvocations) |
ModifySnapshotScheduleResult |
withNextInvocations(Date... nextInvocations)
NOTE: This method appends the values to the existing list (if any).
|
ModifySnapshotScheduleResult |
withScheduleDefinitions(Collection<String> scheduleDefinitions)
A list of ScheduleDefinitions
|
ModifySnapshotScheduleResult |
withScheduleDefinitions(String... scheduleDefinitions)
A list of ScheduleDefinitions
|
ModifySnapshotScheduleResult |
withScheduleDescription(String scheduleDescription)
The description of the schedule.
|
ModifySnapshotScheduleResult |
withScheduleIdentifier(String scheduleIdentifier)
A unique identifier for the schedule.
|
ModifySnapshotScheduleResult |
withTags(Collection<Tag> tags)
An optional set of tags describing the schedule.
|
ModifySnapshotScheduleResult |
withTags(Tag... tags)
An optional set of tags describing the schedule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getScheduleDefinitions()
A list of ScheduleDefinitions
public void setScheduleDefinitions(Collection<String> scheduleDefinitions)
A list of ScheduleDefinitions
scheduleDefinitions
- A list of ScheduleDefinitionspublic ModifySnapshotScheduleResult withScheduleDefinitions(String... scheduleDefinitions)
A list of ScheduleDefinitions
NOTE: This method appends the values to the existing list (if any). Use
setScheduleDefinitions(java.util.Collection)
or withScheduleDefinitions(java.util.Collection)
if you want to override the existing values.
scheduleDefinitions
- A list of ScheduleDefinitionspublic ModifySnapshotScheduleResult withScheduleDefinitions(Collection<String> scheduleDefinitions)
A list of ScheduleDefinitions
scheduleDefinitions
- A list of ScheduleDefinitionspublic void setScheduleIdentifier(String scheduleIdentifier)
A unique identifier for the schedule.
scheduleIdentifier
- A unique identifier for the schedule.public String getScheduleIdentifier()
A unique identifier for the schedule.
public ModifySnapshotScheduleResult withScheduleIdentifier(String scheduleIdentifier)
A unique identifier for the schedule.
scheduleIdentifier
- A unique identifier for the schedule.public void setScheduleDescription(String scheduleDescription)
The description of the schedule.
scheduleDescription
- The description of the schedule.public String getScheduleDescription()
The description of the schedule.
public ModifySnapshotScheduleResult withScheduleDescription(String scheduleDescription)
The description of the schedule.
scheduleDescription
- The description of the schedule.public List<Tag> getTags()
An optional set of tags describing the schedule.
public void setTags(Collection<Tag> tags)
An optional set of tags describing the schedule.
tags
- An optional set of tags describing the schedule.public ModifySnapshotScheduleResult withTags(Tag... tags)
An optional set of tags describing the schedule.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An optional set of tags describing the schedule.public ModifySnapshotScheduleResult withTags(Collection<Tag> tags)
An optional set of tags describing the schedule.
tags
- An optional set of tags describing the schedule.public void setNextInvocations(Collection<Date> nextInvocations)
nextInvocations
- public ModifySnapshotScheduleResult withNextInvocations(Date... nextInvocations)
NOTE: This method appends the values to the existing list (if any). Use
setNextInvocations(java.util.Collection)
or withNextInvocations(java.util.Collection)
if you
want to override the existing values.
nextInvocations
- public ModifySnapshotScheduleResult withNextInvocations(Collection<Date> nextInvocations)
nextInvocations
- public void setAssociatedClusterCount(Integer associatedClusterCount)
associatedClusterCount
- public Integer getAssociatedClusterCount()
public ModifySnapshotScheduleResult withAssociatedClusterCount(Integer associatedClusterCount)
associatedClusterCount
- public List<ClusterAssociatedToSchedule> getAssociatedClusters()
public void setAssociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)
associatedClusters
- public ModifySnapshotScheduleResult withAssociatedClusters(ClusterAssociatedToSchedule... associatedClusters)
NOTE: This method appends the values to the existing list (if any). Use
setAssociatedClusters(java.util.Collection)
or withAssociatedClusters(java.util.Collection)
if
you want to override the existing values.
associatedClusters
- public ModifySnapshotScheduleResult withAssociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)
associatedClusters
- public String toString()
toString
in class Object
Object.toString()
public ModifySnapshotScheduleResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.