public static interface GetScheduleResponse.Builder extends SchedulerResponse.Builder, SdkPojo, CopyableBuilder<GetScheduleResponse.Builder,GetScheduleResponse>
| Modifier and Type | Method and Description |
|---|---|
GetScheduleResponse.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the schedule.
|
GetScheduleResponse.Builder |
creationDate(Instant creationDate)
The time at which the schedule was created.
|
GetScheduleResponse.Builder |
description(String description)
The description of the schedule.
|
GetScheduleResponse.Builder |
endDate(Instant endDate)
The date, in UTC, before which the schedule can invoke its target.
|
default GetScheduleResponse.Builder |
flexibleTimeWindow(Consumer<FlexibleTimeWindow.Builder> flexibleTimeWindow)
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
|
GetScheduleResponse.Builder |
flexibleTimeWindow(FlexibleTimeWindow flexibleTimeWindow)
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
|
GetScheduleResponse.Builder |
groupName(String groupName)
The name of the schedule group associated with this schedule.
|
GetScheduleResponse.Builder |
kmsKeyArn(String kmsKeyArn)
The ARN for a customer managed KMS Key that is be used to encrypt and decrypt your data.
|
GetScheduleResponse.Builder |
lastModificationDate(Instant lastModificationDate)
The time at which the schedule was last modified.
|
GetScheduleResponse.Builder |
name(String name)
The name of the schedule.
|
GetScheduleResponse.Builder |
scheduleExpression(String scheduleExpression)
The expression that defines when the schedule runs.
|
GetScheduleResponse.Builder |
scheduleExpressionTimezone(String scheduleExpressionTimezone)
The timezone in which the scheduling expression is evaluated.
|
GetScheduleResponse.Builder |
startDate(Instant startDate)
The date, in UTC, after which the schedule can begin invoking its target.
|
GetScheduleResponse.Builder |
state(ScheduleState state)
Specifies whether the schedule is enabled or disabled.
|
GetScheduleResponse.Builder |
state(String state)
Specifies whether the schedule is enabled or disabled.
|
default GetScheduleResponse.Builder |
target(Consumer<Target.Builder> target)
The schedule target.
|
GetScheduleResponse.Builder |
target(Target target)
The schedule target.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetScheduleResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the schedule.
arn - The Amazon Resource Name (ARN) of the schedule.GetScheduleResponse.Builder creationDate(Instant creationDate)
The time at which the schedule was created.
creationDate - The time at which the schedule was created.GetScheduleResponse.Builder description(String description)
The description of the schedule.
description - The description of the schedule.GetScheduleResponse.Builder endDate(Instant 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.GetScheduleResponse.Builder flexibleTimeWindow(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.default GetScheduleResponse.Builder flexibleTimeWindow(Consumer<FlexibleTimeWindow.Builder> flexibleTimeWindow)
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
This is a convenience method that creates an instance of theFlexibleTimeWindow.Builder avoiding the
need to create one manually via FlexibleTimeWindow.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to flexibleTimeWindow(FlexibleTimeWindow).
flexibleTimeWindow - a consumer that will call methods on FlexibleTimeWindow.BuilderflexibleTimeWindow(FlexibleTimeWindow)GetScheduleResponse.Builder groupName(String groupName)
The name of the schedule group associated with this schedule.
groupName - The name of the schedule group associated with this schedule.GetScheduleResponse.Builder kmsKeyArn(String kmsKeyArn)
The ARN for a customer managed KMS Key that is be used to encrypt and decrypt your data.
kmsKeyArn - The ARN for a customer managed KMS Key that is be used to encrypt and decrypt your data.GetScheduleResponse.Builder lastModificationDate(Instant lastModificationDate)
The time at which the schedule was last modified.
lastModificationDate - The time at which the schedule was last modified.GetScheduleResponse.Builder name(String name)
The name of the schedule.
name - The name of the schedule.GetScheduleResponse.Builder scheduleExpression(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(unit value)
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(unit value)
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.
GetScheduleResponse.Builder scheduleExpressionTimezone(String scheduleExpressionTimezone)
The timezone in which the scheduling expression is evaluated.
scheduleExpressionTimezone - The timezone in which the scheduling expression is evaluated.GetScheduleResponse.Builder startDate(Instant 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.GetScheduleResponse.Builder state(String state)
Specifies whether the schedule is enabled or disabled.
state - Specifies whether the schedule is enabled or disabled.ScheduleState,
ScheduleStateGetScheduleResponse.Builder state(ScheduleState state)
Specifies whether the schedule is enabled or disabled.
state - Specifies whether the schedule is enabled or disabled.ScheduleState,
ScheduleStateGetScheduleResponse.Builder target(Target target)
The schedule target.
target - The schedule target.default GetScheduleResponse.Builder target(Consumer<Target.Builder> target)
The schedule target.
This is a convenience method that creates an instance of theTarget.Builder avoiding the need to
create one manually via Target.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to target(Target).
target - a consumer that will call methods on Target.Buildertarget(Target)Copyright © 2023. All rights reserved.