@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateScheduleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateScheduleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateScheduleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActionAfterCompletion()
Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the
target.
|
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
String |
getDescription()
The description you specify for the schedule.
|
Date |
getEndDate()
The date, in UTC, before which the schedule can invoke its target.
|
FlexibleTimeWindow |
getFlexibleTimeWindow()
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
|
String |
getGroupName()
The name of the schedule group with which the schedule is associated.
|
String |
getKmsKeyArn()
The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and decrypt
your data.
|
String |
getName()
The name of the schedule that you are updating.
|
String |
getScheduleExpression()
The expression that defines when the schedule runs.
|
String |
getScheduleExpressionTimezone()
The timezone in which the scheduling expression is evaluated.
|
Date |
getStartDate()
The date, in UTC, after which the schedule can begin invoking its target.
|
String |
getState()
Specifies whether the schedule is enabled or disabled.
|
Target |
getTarget()
The schedule target.
|
int |
hashCode() |
void |
setActionAfterCompletion(String actionAfterCompletion)
Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the
target.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description you specify for the schedule.
|
void |
setEndDate(Date endDate)
The date, in UTC, before which the schedule can invoke its target.
|
void |
setFlexibleTimeWindow(FlexibleTimeWindow flexibleTimeWindow)
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
|
void |
setGroupName(String groupName)
The name of the schedule group with which the schedule is associated.
|
void |
setKmsKeyArn(String kmsKeyArn)
The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and decrypt
your data.
|
void |
setName(String name)
The name of the schedule that you are updating.
|
void |
setScheduleExpression(String scheduleExpression)
The expression that defines when the schedule runs.
|
void |
setScheduleExpressionTimezone(String scheduleExpressionTimezone)
The timezone in which the scheduling expression is evaluated.
|
void |
setStartDate(Date startDate)
The date, in UTC, after which the schedule can begin invoking its target.
|
void |
setState(String state)
Specifies whether the schedule is enabled or disabled.
|
void |
setTarget(Target target)
The schedule target.
|
String |
toString()
Returns a string representation of this object.
|
UpdateScheduleRequest |
withActionAfterCompletion(ActionAfterCompletion actionAfterCompletion)
Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the
target.
|
UpdateScheduleRequest |
withActionAfterCompletion(String actionAfterCompletion)
Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the
target.
|
UpdateScheduleRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
UpdateScheduleRequest |
withDescription(String description)
The description you specify for the schedule.
|
UpdateScheduleRequest |
withEndDate(Date endDate)
The date, in UTC, before which the schedule can invoke its target.
|
UpdateScheduleRequest |
withFlexibleTimeWindow(FlexibleTimeWindow flexibleTimeWindow)
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
|
UpdateScheduleRequest |
withGroupName(String groupName)
The name of the schedule group with which the schedule is associated.
|
UpdateScheduleRequest |
withKmsKeyArn(String kmsKeyArn)
The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and decrypt
your data.
|
UpdateScheduleRequest |
withName(String name)
The name of the schedule that you are updating.
|
UpdateScheduleRequest |
withScheduleExpression(String scheduleExpression)
The expression that defines when the schedule runs.
|
UpdateScheduleRequest |
withScheduleExpressionTimezone(String scheduleExpressionTimezone)
The timezone in which the scheduling expression is evaluated.
|
UpdateScheduleRequest |
withStartDate(Date startDate)
The date, in UTC, after which the schedule can begin invoking its target.
|
UpdateScheduleRequest |
withState(ScheduleState state)
Specifies whether the schedule is enabled or disabled.
|
UpdateScheduleRequest |
withState(String state)
Specifies whether the schedule is enabled or disabled.
|
UpdateScheduleRequest |
withTarget(Target target)
The schedule target.
|
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 setActionAfterCompletion(String actionAfterCompletion)
Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the target.
actionAfterCompletion
- Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes
invoking the target.ActionAfterCompletion
public String getActionAfterCompletion()
Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the target.
ActionAfterCompletion
public UpdateScheduleRequest withActionAfterCompletion(String actionAfterCompletion)
Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the target.
actionAfterCompletion
- Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes
invoking the target.ActionAfterCompletion
public UpdateScheduleRequest withActionAfterCompletion(ActionAfterCompletion actionAfterCompletion)
Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes invoking the target.
actionAfterCompletion
- Specifies the action that EventBridge Scheduler applies to the schedule after the schedule completes
invoking the target.ActionAfterCompletion
public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not
specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure
idempotency.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
public UpdateScheduleRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not
specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure
idempotency.public void setDescription(String description)
The description you specify for the schedule.
description
- The description you specify for the schedule.public String getDescription()
The description you specify for the schedule.
public UpdateScheduleRequest withDescription(String description)
The description you specify for the schedule.
description
- The description you specify for the schedule.public void setEndDate(Date endDate)
The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence
expression, invocations might stop on, or before, the EndDate
you specify. EventBridge Scheduler
ignores EndDate
for one-time schedules.
endDate
- The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence
expression, invocations might stop on, or before, the EndDate
you specify. EventBridge
Scheduler ignores EndDate
for one-time schedules.public Date getEndDate()
The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence
expression, invocations might stop on, or before, the EndDate
you specify. EventBridge Scheduler
ignores EndDate
for one-time schedules.
EndDate
you specify. EventBridge
Scheduler ignores EndDate
for one-time schedules.public UpdateScheduleRequest withEndDate(Date endDate)
The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence
expression, invocations might stop on, or before, the EndDate
you specify. EventBridge Scheduler
ignores EndDate
for one-time schedules.
endDate
- The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence
expression, invocations might stop on, or before, the EndDate
you specify. EventBridge
Scheduler ignores EndDate
for one-time schedules.public void setFlexibleTimeWindow(FlexibleTimeWindow flexibleTimeWindow)
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
flexibleTimeWindow
- Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.public FlexibleTimeWindow getFlexibleTimeWindow()
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
public UpdateScheduleRequest withFlexibleTimeWindow(FlexibleTimeWindow flexibleTimeWindow)
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
flexibleTimeWindow
- Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.public void setGroupName(String groupName)
The name of the schedule group with which the schedule is associated. You must provide this value in order for EventBridge Scheduler to find the schedule you want to update. If you omit this value, EventBridge Scheduler assumes the group is associated to the default group.
groupName
- The name of the schedule group with which the schedule is associated. You must provide this value in order
for EventBridge Scheduler to find the schedule you want to update. If you omit this value, EventBridge
Scheduler assumes the group is associated to the default group.public String getGroupName()
The name of the schedule group with which the schedule is associated. You must provide this value in order for EventBridge Scheduler to find the schedule you want to update. If you omit this value, EventBridge Scheduler assumes the group is associated to the default group.
public UpdateScheduleRequest withGroupName(String groupName)
The name of the schedule group with which the schedule is associated. You must provide this value in order for EventBridge Scheduler to find the schedule you want to update. If you omit this value, EventBridge Scheduler assumes the group is associated to the default group.
groupName
- The name of the schedule group with which the schedule is associated. You must provide this value in order
for EventBridge Scheduler to find the schedule you want to update. If you omit this value, EventBridge
Scheduler assumes the group is associated to the default group.public void setKmsKeyArn(String kmsKeyArn)
The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and decrypt your data.
kmsKeyArn
- The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and
decrypt your data.public String getKmsKeyArn()
The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and decrypt your data.
public UpdateScheduleRequest withKmsKeyArn(String kmsKeyArn)
The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and decrypt your data.
kmsKeyArn
- The ARN for the customer managed KMS key that that you want EventBridge Scheduler to use to encrypt and
decrypt your data.public void setName(String name)
The name of the schedule that you are updating.
name
- The name of the schedule that you are updating.public String getName()
The name of the schedule that you are updating.
public UpdateScheduleRequest withName(String name)
The name of the schedule that you are updating.
name
- The name of the schedule that you are updating.public void setScheduleExpression(String scheduleExpression)
The expression that defines when the schedule runs. The following formats are supported.
at
expression - at(yyyy-mm-ddThh:mm:ss)
rate
expression - rate(value unit)
cron
expression - cron(fields)
You can use at
expressions to create one-time schedules that invoke a target once, at the time and
in the time zone, that you specify. You can use rate
and cron
expressions to create
recurring schedules. Rate-based schedules are useful when you want to invoke a target at regular intervals, such
as every 15 minutes or every five days. Cron-based schedules are useful when you want to invoke a target
periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day of the month.
A cron
expression consists of six fields separated by white spaces:
(minutes hours day_of_month month day_of_week year)
.
A rate
expression consists of a value as a positive integer, and a unit with the
following options: minute
| minutes
| hour
| hours
|
day
| days
For more information and examples, see Schedule types on EventBridge Scheduler in the EventBridge Scheduler User Guide.
scheduleExpression
- The expression that defines when the schedule runs. The following formats are supported.
at
expression - at(yyyy-mm-ddThh:mm:ss)
rate
expression - rate(value unit)
cron
expression - cron(fields)
You can use at
expressions to create one-time schedules that invoke a target once, at the
time and in the time zone, that you specify. You can use rate
and cron
expressions to create recurring schedules. Rate-based schedules are useful when you want to invoke a
target at regular intervals, such as every 15 minutes or every five days. Cron-based schedules are useful
when you want to invoke a target periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day
of the month.
A cron
expression consists of six fields separated by white spaces:
(minutes hours day_of_month month day_of_week year)
.
A rate
expression consists of a value as a positive integer, and a unit with
the following options: minute
| minutes
| hour
| hours
| day
| days
For more information and examples, see Schedule types on EventBridge Scheduler in the EventBridge Scheduler User Guide.
public String getScheduleExpression()
The expression that defines when the schedule runs. The following formats are supported.
at
expression - at(yyyy-mm-ddThh:mm:ss)
rate
expression - rate(value unit)
cron
expression - cron(fields)
You can use at
expressions to create one-time schedules that invoke a target once, at the time and
in the time zone, that you specify. You can use rate
and cron
expressions to create
recurring schedules. Rate-based schedules are useful when you want to invoke a target at regular intervals, such
as every 15 minutes or every five days. Cron-based schedules are useful when you want to invoke a target
periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day of the month.
A cron
expression consists of six fields separated by white spaces:
(minutes hours day_of_month month day_of_week year)
.
A rate
expression consists of a value as a positive integer, and a unit with the
following options: minute
| minutes
| hour
| hours
|
day
| days
For more information and examples, see Schedule types on EventBridge Scheduler in the EventBridge Scheduler User Guide.
at
expression - at(yyyy-mm-ddThh:mm:ss)
rate
expression - rate(value unit)
cron
expression - cron(fields)
You can use at
expressions to create one-time schedules that invoke a target once, at the
time and in the time zone, that you specify. You can use rate
and cron
expressions to create recurring schedules. Rate-based schedules are useful when you want to invoke a
target at regular intervals, such as every 15 minutes or every five days. Cron-based schedules are useful
when you want to invoke a target periodically at a specific time, such as at 8:00 am (UTC+0) every 1st
day of the month.
A cron
expression consists of six fields separated by white spaces:
(minutes hours day_of_month month day_of_week year)
.
A rate
expression consists of a value as a positive integer, and a unit with
the following options: minute
| minutes
| hour
|
hours
| day
| days
For more information and examples, see Schedule types on EventBridge Scheduler in the EventBridge Scheduler User Guide.
public UpdateScheduleRequest withScheduleExpression(String scheduleExpression)
The expression that defines when the schedule runs. The following formats are supported.
at
expression - at(yyyy-mm-ddThh:mm:ss)
rate
expression - rate(value unit)
cron
expression - cron(fields)
You can use at
expressions to create one-time schedules that invoke a target once, at the time and
in the time zone, that you specify. You can use rate
and cron
expressions to create
recurring schedules. Rate-based schedules are useful when you want to invoke a target at regular intervals, such
as every 15 minutes or every five days. Cron-based schedules are useful when you want to invoke a target
periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day of the month.
A cron
expression consists of six fields separated by white spaces:
(minutes hours day_of_month month day_of_week year)
.
A rate
expression consists of a value as a positive integer, and a unit with the
following options: minute
| minutes
| hour
| hours
|
day
| days
For more information and examples, see Schedule types on EventBridge Scheduler in the EventBridge Scheduler User Guide.
scheduleExpression
- The expression that defines when the schedule runs. The following formats are supported.
at
expression - at(yyyy-mm-ddThh:mm:ss)
rate
expression - rate(value unit)
cron
expression - cron(fields)
You can use at
expressions to create one-time schedules that invoke a target once, at the
time and in the time zone, that you specify. You can use rate
and cron
expressions to create recurring schedules. Rate-based schedules are useful when you want to invoke a
target at regular intervals, such as every 15 minutes or every five days. Cron-based schedules are useful
when you want to invoke a target periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day
of the month.
A cron
expression consists of six fields separated by white spaces:
(minutes hours day_of_month month day_of_week year)
.
A rate
expression consists of a value as a positive integer, and a unit with
the following options: minute
| minutes
| hour
| hours
| day
| days
For more information and examples, see Schedule types on EventBridge Scheduler in the EventBridge Scheduler User Guide.
public void setScheduleExpressionTimezone(String scheduleExpressionTimezone)
The timezone in which the scheduling expression is evaluated.
scheduleExpressionTimezone
- The timezone in which the scheduling expression is evaluated.public String getScheduleExpressionTimezone()
The timezone in which the scheduling expression is evaluated.
public UpdateScheduleRequest withScheduleExpressionTimezone(String scheduleExpressionTimezone)
The timezone in which the scheduling expression is evaluated.
scheduleExpressionTimezone
- The timezone in which the scheduling expression is evaluated.public void setStartDate(Date startDate)
The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's recurrence
expression, invocations might occur on, or after, the StartDate
you specify. EventBridge Scheduler
ignores StartDate
for one-time schedules.
startDate
- The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's
recurrence expression, invocations might occur on, or after, the StartDate
you specify.
EventBridge Scheduler ignores StartDate
for one-time schedules.public Date getStartDate()
The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's recurrence
expression, invocations might occur on, or after, the StartDate
you specify. EventBridge Scheduler
ignores StartDate
for one-time schedules.
StartDate
you specify.
EventBridge Scheduler ignores StartDate
for one-time schedules.public UpdateScheduleRequest withStartDate(Date startDate)
The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's recurrence
expression, invocations might occur on, or after, the StartDate
you specify. EventBridge Scheduler
ignores StartDate
for one-time schedules.
startDate
- The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's
recurrence expression, invocations might occur on, or after, the StartDate
you specify.
EventBridge Scheduler ignores StartDate
for one-time schedules.public void setState(String state)
Specifies whether the schedule is enabled or disabled.
state
- Specifies whether the schedule is enabled or disabled.ScheduleState
public String getState()
Specifies whether the schedule is enabled or disabled.
ScheduleState
public UpdateScheduleRequest withState(String state)
Specifies whether the schedule is enabled or disabled.
state
- Specifies whether the schedule is enabled or disabled.ScheduleState
public UpdateScheduleRequest withState(ScheduleState state)
Specifies whether the schedule is enabled or disabled.
state
- Specifies whether the schedule is enabled or disabled.ScheduleState
public void setTarget(Target target)
The schedule target. You can use this operation to change the target that your schedule invokes.
target
- The schedule target. You can use this operation to change the target that your schedule invokes.public Target getTarget()
The schedule target. You can use this operation to change the target that your schedule invokes.
public UpdateScheduleRequest withTarget(Target target)
The schedule target. You can use this operation to change the target that your schedule invokes.
target
- The schedule target. You can use this operation to change the target that your schedule invokes.public String toString()
toString
in class Object
Object.toString()
public UpdateScheduleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.