@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateScheduleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateScheduleRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateScheduleRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateScheduleRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateScheduleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCronExpression()
The date or dates and time or times, in
cron format, when the jobs are to be run. |
List<String> |
getJobNames()
The name or names of one or more jobs to be run.
|
String |
getName()
A unique name for the schedule.
|
Map<String,String> |
getTags()
Metadata tags to apply to this schedule.
|
int |
hashCode() |
void |
setCronExpression(String cronExpression)
The date or dates and time or times, in
cron format, when the jobs are to be run. |
void |
setJobNames(Collection<String> jobNames)
The name or names of one or more jobs to be run.
|
void |
setName(String name)
A unique name for the schedule.
|
void |
setTags(Map<String,String> tags)
Metadata tags to apply to this schedule.
|
String |
toString()
Returns a string representation of this object.
|
CreateScheduleRequest |
withCronExpression(String cronExpression)
The date or dates and time or times, in
cron format, when the jobs are to be run. |
CreateScheduleRequest |
withJobNames(Collection<String> jobNames)
The name or names of one or more jobs to be run.
|
CreateScheduleRequest |
withJobNames(String... jobNames)
The name or names of one or more jobs to be run.
|
CreateScheduleRequest |
withName(String name)
A unique name for the schedule.
|
CreateScheduleRequest |
withTags(Map<String,String> tags)
Metadata tags to apply to this 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, withSdkRequestTimeoutpublic List<String> getJobNames()
The name or names of one or more jobs to be run.
public void setJobNames(Collection<String> jobNames)
The name or names of one or more jobs to be run.
jobNames - The name or names of one or more jobs to be run.public CreateScheduleRequest withJobNames(String... jobNames)
The name or names of one or more jobs to be run.
NOTE: This method appends the values to the existing list (if any). Use
setJobNames(java.util.Collection) or withJobNames(java.util.Collection) if you want to override
the existing values.
jobNames - The name or names of one or more jobs to be run.public CreateScheduleRequest withJobNames(Collection<String> jobNames)
The name or names of one or more jobs to be run.
jobNames - The name or names of one or more jobs to be run.public void setCronExpression(String cronExpression)
The date or dates and time or times, in cron format, when the jobs are to be run.
cronExpression - The date or dates and time or times, in cron format, when the jobs are to be run.public String getCronExpression()
The date or dates and time or times, in cron format, when the jobs are to be run.
cron format, when the jobs are to be run.public CreateScheduleRequest withCronExpression(String cronExpression)
The date or dates and time or times, in cron format, when the jobs are to be run.
cronExpression - The date or dates and time or times, in cron format, when the jobs are to be run.public Map<String,String> getTags()
Metadata tags to apply to this schedule.
public void setTags(Map<String,String> tags)
Metadata tags to apply to this schedule.
tags - Metadata tags to apply to this schedule.public CreateScheduleRequest withTags(Map<String,String> tags)
Metadata tags to apply to this schedule.
tags - Metadata tags to apply to this schedule.public CreateScheduleRequest addTagsEntry(String key, String value)
public CreateScheduleRequest clearTagsEntries()
public void setName(String name)
A unique name for the schedule.
name - A unique name for the schedule.public String getName()
A unique name for the schedule.
public CreateScheduleRequest withName(String name)
A unique name for the schedule.
name - A unique name for the schedule.public String toString()
toString in class ObjectObject.toString()public CreateScheduleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()