@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateScheduledActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateScheduledActionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateScheduledActionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Specifies whether to enable the scheduled action.
|
Date |
getEndTime()
The end time in UTC of the scheduled action to update.
|
String |
getRoleArn()
The ARN of the IAM role to assume to run the scheduled action.
|
Schedule |
getSchedule()
The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action.
|
String |
getScheduledActionDescription()
The descripion of the scheduled action to update to.
|
String |
getScheduledActionName()
The name of the scheduled action to update to.
|
Date |
getStartTime()
The start time in UTC of the scheduled action to update to.
|
TargetAction |
getTargetAction() |
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether to enable the scheduled action.
|
void |
setEnabled(Boolean enabled)
Specifies whether to enable the scheduled action.
|
void |
setEndTime(Date endTime)
The end time in UTC of the scheduled action to update.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role to assume to run the scheduled action.
|
void |
setSchedule(Schedule schedule)
The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action.
|
void |
setScheduledActionDescription(String scheduledActionDescription)
The descripion of the scheduled action to update to.
|
void |
setScheduledActionName(String scheduledActionName)
The name of the scheduled action to update to.
|
void |
setStartTime(Date startTime)
The start time in UTC of the scheduled action to update to.
|
void |
setTargetAction(TargetAction targetAction) |
String |
toString()
Returns a string representation of this object.
|
UpdateScheduledActionRequest |
withEnabled(Boolean enabled)
Specifies whether to enable the scheduled action.
|
UpdateScheduledActionRequest |
withEndTime(Date endTime)
The end time in UTC of the scheduled action to update.
|
UpdateScheduledActionRequest |
withRoleArn(String roleArn)
The ARN of the IAM role to assume to run the scheduled action.
|
UpdateScheduledActionRequest |
withSchedule(Schedule schedule)
The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action.
|
UpdateScheduledActionRequest |
withScheduledActionDescription(String scheduledActionDescription)
The descripion of the scheduled action to update to.
|
UpdateScheduledActionRequest |
withScheduledActionName(String scheduledActionName)
The name of the scheduled action to update to.
|
UpdateScheduledActionRequest |
withStartTime(Date startTime)
The start time in UTC of the scheduled action to update to.
|
UpdateScheduledActionRequest |
withTargetAction(TargetAction targetAction) |
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 setEnabled(Boolean enabled)
Specifies whether to enable the scheduled action.
enabled
- Specifies whether to enable the scheduled action.public Boolean getEnabled()
Specifies whether to enable the scheduled action.
public UpdateScheduledActionRequest withEnabled(Boolean enabled)
Specifies whether to enable the scheduled action.
enabled
- Specifies whether to enable the scheduled action.public Boolean isEnabled()
Specifies whether to enable the scheduled action.
public void setEndTime(Date endTime)
The end time in UTC of the scheduled action to update.
endTime
- The end time in UTC of the scheduled action to update.public Date getEndTime()
The end time in UTC of the scheduled action to update.
public UpdateScheduledActionRequest withEndTime(Date endTime)
The end time in UTC of the scheduled action to update.
endTime
- The end time in UTC of the scheduled action to update.public void setRoleArn(String roleArn)
The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guide
roleArn
- The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run
the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon
Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume
permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift
scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guidepublic String getRoleArn()
The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guide
public UpdateScheduledActionRequest withRoleArn(String roleArn)
The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guide
roleArn
- The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run
the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon
Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume
permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift
scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guidepublic void setSchedule(Schedule schedule)
The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour. Times are in UTC.
Format of at timestamp is yyyy-mm-ddThh:mm:ss
. For example, 2016-03-04T17:27:00
.
Format of cron expression is (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
"(0 10 ? * MON *)"
. For more information, see Cron
Expressions in the Amazon CloudWatch Events User Guide.
schedule
- The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action. Schedule
invocations must be separated by at least one hour. Times are in UTC.
Format of at timestamp is yyyy-mm-ddThh:mm:ss
. For example, 2016-03-04T17:27:00
.
Format of cron expression is (Minutes Hours Day-of-month Month Day-of-week Year)
. For
example, "(0 10 ? * MON *)"
. For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.
public Schedule getSchedule()
The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour. Times are in UTC.
Format of at timestamp is yyyy-mm-ddThh:mm:ss
. For example, 2016-03-04T17:27:00
.
Format of cron expression is (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
"(0 10 ? * MON *)"
. For more information, see Cron
Expressions in the Amazon CloudWatch Events User Guide.
Format of at timestamp is yyyy-mm-ddThh:mm:ss
. For example, 2016-03-04T17:27:00
.
Format of cron expression is (Minutes Hours Day-of-month Month Day-of-week Year)
. For
example, "(0 10 ? * MON *)"
. For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.
public UpdateScheduledActionRequest withSchedule(Schedule schedule)
The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour. Times are in UTC.
Format of at timestamp is yyyy-mm-ddThh:mm:ss
. For example, 2016-03-04T17:27:00
.
Format of cron expression is (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
"(0 10 ? * MON *)"
. For more information, see Cron
Expressions in the Amazon CloudWatch Events User Guide.
schedule
- The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action. Schedule
invocations must be separated by at least one hour. Times are in UTC.
Format of at timestamp is yyyy-mm-ddThh:mm:ss
. For example, 2016-03-04T17:27:00
.
Format of cron expression is (Minutes Hours Day-of-month Month Day-of-week Year)
. For
example, "(0 10 ? * MON *)"
. For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.
public void setScheduledActionDescription(String scheduledActionDescription)
The descripion of the scheduled action to update to.
scheduledActionDescription
- The descripion of the scheduled action to update to.public String getScheduledActionDescription()
The descripion of the scheduled action to update to.
public UpdateScheduledActionRequest withScheduledActionDescription(String scheduledActionDescription)
The descripion of the scheduled action to update to.
scheduledActionDescription
- The descripion of the scheduled action to update to.public void setScheduledActionName(String scheduledActionName)
The name of the scheduled action to update to.
scheduledActionName
- The name of the scheduled action to update to.public String getScheduledActionName()
The name of the scheduled action to update to.
public UpdateScheduledActionRequest withScheduledActionName(String scheduledActionName)
The name of the scheduled action to update to.
scheduledActionName
- The name of the scheduled action to update to.public void setStartTime(Date startTime)
The start time in UTC of the scheduled action to update to.
startTime
- The start time in UTC of the scheduled action to update to.public Date getStartTime()
The start time in UTC of the scheduled action to update to.
public UpdateScheduledActionRequest withStartTime(Date startTime)
The start time in UTC of the scheduled action to update to.
startTime
- The start time in UTC of the scheduled action to update to.public void setTargetAction(TargetAction targetAction)
targetAction
- public TargetAction getTargetAction()
public UpdateScheduledActionRequest withTargetAction(TargetAction targetAction)
targetAction
- public String toString()
toString
in class Object
Object.toString()
public UpdateScheduledActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()