public static interface Schedule.Builder extends SdkPojo, CopyableBuilder<Schedule.Builder,Schedule>
Modifier and Type | Method and Description |
---|---|
Schedule.Builder |
scheduleExpression(String scheduleExpression)
A
cron expression used to specify the schedule (see Time-Based Schedules
for Jobs and Crawlers. |
Schedule.Builder |
state(ScheduleState state)
The state of the schedule.
|
Schedule.Builder |
state(String state)
The state of the schedule.
|
copy
applyMutation, build
Schedule.Builder scheduleExpression(String 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 * * ? *)
.
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 * * ? *)
.Schedule.Builder state(String state)
The state of the schedule.
state
- The state of the schedule.ScheduleState
,
ScheduleState
Schedule.Builder state(ScheduleState state)
The state of the schedule.
state
- The state of the schedule.ScheduleState
,
ScheduleState
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.