@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotScheduleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSnapshotScheduleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotScheduleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDryRun()
|
Integer |
getNextInvocations()
|
List<String> |
getScheduleDefinitions()
The definition of the snapshot schedule.
|
String |
getScheduleDescription()
The description of the snapshot schedule.
|
String |
getScheduleIdentifier()
A unique identifier for a snapshot schedule.
|
List<Tag> |
getTags()
An optional set of tags you can use to search for the schedule.
|
int |
hashCode() |
Boolean |
isDryRun()
|
void |
setDryRun(Boolean dryRun)
|
void |
setNextInvocations(Integer nextInvocations)
|
void |
setScheduleDefinitions(Collection<String> scheduleDefinitions)
The definition of the snapshot schedule.
|
void |
setScheduleDescription(String scheduleDescription)
The description of the snapshot schedule.
|
void |
setScheduleIdentifier(String scheduleIdentifier)
A unique identifier for a snapshot schedule.
|
void |
setTags(Collection<Tag> tags)
An optional set of tags you can use to search for the schedule.
|
String |
toString()
Returns a string representation of this object.
|
CreateSnapshotScheduleRequest |
withDryRun(Boolean dryRun)
|
CreateSnapshotScheduleRequest |
withNextInvocations(Integer nextInvocations)
|
CreateSnapshotScheduleRequest |
withScheduleDefinitions(Collection<String> scheduleDefinitions)
The definition of the snapshot schedule.
|
CreateSnapshotScheduleRequest |
withScheduleDefinitions(String... scheduleDefinitions)
The definition of the snapshot schedule.
|
CreateSnapshotScheduleRequest |
withScheduleDescription(String scheduleDescription)
The description of the snapshot schedule.
|
CreateSnapshotScheduleRequest |
withScheduleIdentifier(String scheduleIdentifier)
A unique identifier for a snapshot schedule.
|
CreateSnapshotScheduleRequest |
withTags(Collection<Tag> tags)
An optional set of tags you can use to search for the schedule.
|
CreateSnapshotScheduleRequest |
withTags(Tag... tags)
An optional set of tags you can use to search for the schedule.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getScheduleDefinitions()
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
public void setScheduleDefinitions(Collection<String> scheduleDefinitions)
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
scheduleDefinitions
- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example
"cron(30 12 *)" or "rate(12 hours)".public CreateSnapshotScheduleRequest withScheduleDefinitions(String... scheduleDefinitions)
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
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
- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example
"cron(30 12 *)" or "rate(12 hours)".public CreateSnapshotScheduleRequest withScheduleDefinitions(Collection<String> scheduleDefinitions)
The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
scheduleDefinitions
- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example
"cron(30 12 *)" or "rate(12 hours)".public void setScheduleIdentifier(String scheduleIdentifier)
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
scheduleIdentifier
- A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.public String getScheduleIdentifier()
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
public CreateSnapshotScheduleRequest withScheduleIdentifier(String scheduleIdentifier)
A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.
scheduleIdentifier
- A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.public void setScheduleDescription(String scheduleDescription)
The description of the snapshot schedule.
scheduleDescription
- The description of the snapshot schedule.public String getScheduleDescription()
The description of the snapshot schedule.
public CreateSnapshotScheduleRequest withScheduleDescription(String scheduleDescription)
The description of the snapshot schedule.
scheduleDescription
- The description of the snapshot schedule.public List<Tag> getTags()
An optional set of tags you can use to search for the schedule.
public void setTags(Collection<Tag> tags)
An optional set of tags you can use to search for the schedule.
tags
- An optional set of tags you can use to search for the schedule.public CreateSnapshotScheduleRequest withTags(Tag... tags)
An optional set of tags you can use to search for 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 you can use to search for the schedule.public CreateSnapshotScheduleRequest withTags(Collection<Tag> tags)
An optional set of tags you can use to search for the schedule.
tags
- An optional set of tags you can use to search for the schedule.public void setDryRun(Boolean dryRun)
dryRun
- public Boolean getDryRun()
public CreateSnapshotScheduleRequest withDryRun(Boolean dryRun)
dryRun
- public Boolean isDryRun()
public void setNextInvocations(Integer nextInvocations)
nextInvocations
- public Integer getNextInvocations()
public CreateSnapshotScheduleRequest withNextInvocations(Integer nextInvocations)
nextInvocations
- public String toString()
toString
in class Object
Object.toString()
public CreateSnapshotScheduleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()