@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) |
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 |
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 |
withNextInvocations(Collection<Date> nextInvocations) |
CreateSnapshotScheduleResult |
withNextInvocations(Date... nextInvocations)
NOTE: This method appends the values to the existing list (if any).
|
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 ScheduleDefinitionspublic 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 ScheduleDefinitionspublic CreateSnapshotScheduleResult 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 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 String toString()
toString
in class Object
Object.toString()
public CreateSnapshotScheduleResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.