Interface Schedule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Schedule.Builder,
,Schedule> SdkBuilder<Schedule.Builder,
,Schedule> SdkPojo
- Enclosing class:
Schedule
public static interface Schedule.Builder
extends SdkPojo, CopyableBuilder<Schedule.Builder,Schedule>
-
Method Summary
Modifier and TypeMethodDescriptionscheduleExpression
(String scheduleExpression) Acron
expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers.The state of the schedule.state
(ScheduleState state) The state of the schedule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
scheduleExpression
A
cron
expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:cron(15 12 * * ? *)
.- Parameters:
scheduleExpression
- Acron
expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:cron(15 12 * * ? *)
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the schedule.
- Parameters:
state
- The state of the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the schedule.
- Parameters:
state
- The state of the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-