@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotScheduleResult 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 |
---|
CreateSnapshotScheduleResult() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotScheduleResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getAssociatedClusterCount()
The number of clusters associated with the schedule.
|
List<ClusterAssociatedToSchedule> |
getAssociatedClusters()
A list of clusters associated with the schedule.
|
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)
The number of clusters associated with the schedule.
|
void |
setAssociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)
A list of clusters associated with the schedule.
|
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.
|
CreateSnapshotScheduleResult |
withAssociatedClusterCount(Integer associatedClusterCount)
The number of clusters associated with the schedule.
|
CreateSnapshotScheduleResult |
withAssociatedClusters(ClusterAssociatedToSchedule... associatedClusters)
A list of clusters associated with the schedule.
|
CreateSnapshotScheduleResult |
withAssociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)
A list of clusters associated with the schedule.
|
CreateSnapshotScheduleResult |
withNextInvocations(Collection<Date> nextInvocations)
|
CreateSnapshotScheduleResult |
withNextInvocations(Date... nextInvocations)
|
CreateSnapshotScheduleResult |
withScheduleDefinitions(Collection<String> scheduleDefinitions)
A list of ScheduleDefinitions.
|
CreateSnapshotScheduleResult |
withScheduleDefinitions(String... scheduleDefinitions)
A list of ScheduleDefinitions.
|
CreateSnapshotScheduleResult |
withScheduleDescription(String scheduleDescription)
The description of the schedule.
|
CreateSnapshotScheduleResult |
withScheduleIdentifier(String scheduleIdentifier)
A unique identifier for the schedule.
|
CreateSnapshotScheduleResult |
withTags(Collection<Tag> tags)
An optional set of tags describing the schedule.
|
CreateSnapshotScheduleResult |
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 ScheduleDefinitions.public CreateSnapshotScheduleResult 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 ScheduleDefinitions.public CreateSnapshotScheduleResult withScheduleDefinitions(Collection<String> scheduleDefinitions)
A list of ScheduleDefinitions.
scheduleDefinitions
- A list of ScheduleDefinitions.public 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 CreateSnapshotScheduleResult 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 CreateSnapshotScheduleResult 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 CreateSnapshotScheduleResult 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 CreateSnapshotScheduleResult 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 CreateSnapshotScheduleResult 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 CreateSnapshotScheduleResult withNextInvocations(Collection<Date> nextInvocations)
nextInvocations
- public void setAssociatedClusterCount(Integer associatedClusterCount)
The number of clusters associated with the schedule.
associatedClusterCount
- The number of clusters associated with the schedule.public Integer getAssociatedClusterCount()
The number of clusters associated with the schedule.
public CreateSnapshotScheduleResult withAssociatedClusterCount(Integer associatedClusterCount)
The number of clusters associated with the schedule.
associatedClusterCount
- The number of clusters associated with the schedule.public List<ClusterAssociatedToSchedule> getAssociatedClusters()
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
public void setAssociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
associatedClusters
- A list of clusters associated with the schedule. A maximum of 100 clusters is returned.public CreateSnapshotScheduleResult withAssociatedClusters(ClusterAssociatedToSchedule... associatedClusters)
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
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
- A list of clusters associated with the schedule. A maximum of 100 clusters is returned.public CreateSnapshotScheduleResult withAssociatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
associatedClusters
- A list of clusters associated with the schedule. A maximum of 100 clusters is returned.public String toString()
toString
in class Object
Object.toString()
public CreateSnapshotScheduleResult clone()