@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 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 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 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, withSdkRequestTimeout
public 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 when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
cronExpression
- The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue
DataBrew Developer Guide.public String getCronExpression()
The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
public CreateScheduleRequest withCronExpression(String cronExpression)
The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
cronExpression
- The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue
DataBrew Developer Guide.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. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.),
and space.public String getName()
A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
public CreateScheduleRequest withName(String name)
A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.),
and space.public String toString()
toString
in class Object
Object.toString()
public CreateScheduleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()