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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schedule.BuilderscheduleExpression(String scheduleExpression)Acronexpression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers.Schedule.Builderstate(String state)The state of the schedule.Schedule.Builderstate(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 Detail
-
scheduleExpression
Schedule.Builder scheduleExpression(String scheduleExpression)
A
cronexpression 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- Acronexpression 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
Schedule.Builder state(String 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:
ScheduleState,ScheduleState
-
state
Schedule.Builder state(ScheduleState 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:
ScheduleState,ScheduleState
-
-