@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateScheduledActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateScheduledActionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateScheduledActionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEnable()
If true, the schedule is enabled.
|
Date |
getEndTime()
The end time in UTC of the scheduled action.
|
String |
getIamRole()
The IAM role to assume to run the target action.
|
String |
getSchedule()
The schedule in
at( ) or cron( ) format. |
String |
getScheduledActionDescription()
The description of the scheduled action.
|
String |
getScheduledActionName()
The name of the scheduled action.
|
Date |
getStartTime()
The start time in UTC of the scheduled action.
|
ScheduledActionType |
getTargetAction()
A JSON format string of the Amazon Redshift API operation with input parameters.
|
int |
hashCode() |
Boolean |
isEnable()
If true, the schedule is enabled.
|
void |
setEnable(Boolean enable)
If true, the schedule is enabled.
|
void |
setEndTime(Date endTime)
The end time in UTC of the scheduled action.
|
void |
setIamRole(String iamRole)
The IAM role to assume to run the target action.
|
void |
setSchedule(String schedule)
The schedule in
at( ) or cron( ) format. |
void |
setScheduledActionDescription(String scheduledActionDescription)
The description of the scheduled action.
|
void |
setScheduledActionName(String scheduledActionName)
The name of the scheduled action.
|
void |
setStartTime(Date startTime)
The start time in UTC of the scheduled action.
|
void |
setTargetAction(ScheduledActionType targetAction)
A JSON format string of the Amazon Redshift API operation with input parameters.
|
String |
toString()
Returns a string representation of this object.
|
CreateScheduledActionRequest |
withEnable(Boolean enable)
If true, the schedule is enabled.
|
CreateScheduledActionRequest |
withEndTime(Date endTime)
The end time in UTC of the scheduled action.
|
CreateScheduledActionRequest |
withIamRole(String iamRole)
The IAM role to assume to run the target action.
|
CreateScheduledActionRequest |
withSchedule(String schedule)
The schedule in
at( ) or cron( ) format. |
CreateScheduledActionRequest |
withScheduledActionDescription(String scheduledActionDescription)
The description of the scheduled action.
|
CreateScheduledActionRequest |
withScheduledActionName(String scheduledActionName)
The name of the scheduled action.
|
CreateScheduledActionRequest |
withStartTime(Date startTime)
The start time in UTC of the scheduled action.
|
CreateScheduledActionRequest |
withTargetAction(ScheduledActionType targetAction)
A JSON format string of the Amazon Redshift API operation with input parameters.
|
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 void setScheduledActionName(String scheduledActionName)
The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.
scheduledActionName
- The name of the scheduled action. The name must be unique within an account. For more information about
this parameter, see ScheduledAction.public String getScheduledActionName()
The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.
public CreateScheduledActionRequest withScheduledActionName(String scheduledActionName)
The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.
scheduledActionName
- The name of the scheduled action. The name must be unique within an account. For more information about
this parameter, see ScheduledAction.public void setTargetAction(ScheduledActionType targetAction)
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
targetAction
- A JSON format string of the Amazon Redshift API operation with input parameters. For more information
about this parameter, see ScheduledAction.public ScheduledActionType getTargetAction()
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
public CreateScheduledActionRequest withTargetAction(ScheduledActionType targetAction)
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
targetAction
- A JSON format string of the Amazon Redshift API operation with input parameters. For more information
about this parameter, see ScheduledAction.public void setSchedule(String schedule)
The schedule in at( )
or cron( )
format. For more information about this parameter, see
ScheduledAction.
schedule
- The schedule in at( )
or cron( )
format. For more information about this
parameter, see ScheduledAction.public String getSchedule()
The schedule in at( )
or cron( )
format. For more information about this parameter, see
ScheduledAction.
at( )
or cron( )
format. For more information about this
parameter, see ScheduledAction.public CreateScheduledActionRequest withSchedule(String schedule)
The schedule in at( )
or cron( )
format. For more information about this parameter, see
ScheduledAction.
schedule
- The schedule in at( )
or cron( )
format. For more information about this
parameter, see ScheduledAction.public void setIamRole(String iamRole)
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
iamRole
- The IAM role to assume to run the target action. For more information about this parameter, see
ScheduledAction.public String getIamRole()
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
public CreateScheduledActionRequest withIamRole(String iamRole)
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
iamRole
- The IAM role to assume to run the target action. For more information about this parameter, see
ScheduledAction.public void setScheduledActionDescription(String scheduledActionDescription)
The description of the scheduled action.
scheduledActionDescription
- The description of the scheduled action.public String getScheduledActionDescription()
The description of the scheduled action.
public CreateScheduledActionRequest withScheduledActionDescription(String scheduledActionDescription)
The description of the scheduled action.
scheduledActionDescription
- The description of the scheduled action.public void setStartTime(Date startTime)
The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
startTime
- The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
For more information about this parameter, see ScheduledAction.public Date getStartTime()
The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
public CreateScheduledActionRequest withStartTime(Date startTime)
The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
startTime
- The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger.
For more information about this parameter, see ScheduledAction.public void setEndTime(Date endTime)
The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
endTime
- The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For
more information about this parameter, see ScheduledAction.public Date getEndTime()
The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
public CreateScheduledActionRequest withEndTime(Date endTime)
The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
endTime
- The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For
more information about this parameter, see ScheduledAction.public void setEnable(Boolean enable)
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about
state
of the scheduled action, see ScheduledAction.
enable
- If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information
about state
of the scheduled action, see ScheduledAction.public Boolean getEnable()
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about
state
of the scheduled action, see ScheduledAction.
state
of the scheduled action, see ScheduledAction.public CreateScheduledActionRequest withEnable(Boolean enable)
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about
state
of the scheduled action, see ScheduledAction.
enable
- If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information
about state
of the scheduled action, see ScheduledAction.public Boolean isEnable()
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about
state
of the scheduled action, see ScheduledAction.
state
of the scheduled action, see ScheduledAction.public String toString()
toString
in class Object
Object.toString()
public CreateScheduledActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()