public static interface ScheduleAction.Builder extends SdkPojo, CopyableBuilder<ScheduleAction.Builder,ScheduleAction>
Modifier and Type | Method and Description |
---|---|
ScheduleAction.Builder |
actionName(String actionName)
The name of the action, must be unique within the schedule.
|
default ScheduleAction.Builder |
scheduleActionSettings(Consumer<ScheduleActionSettings.Builder> scheduleActionSettings)
Settings for this schedule action.
|
ScheduleAction.Builder |
scheduleActionSettings(ScheduleActionSettings scheduleActionSettings)
Settings for this schedule action.
|
default ScheduleAction.Builder |
scheduleActionStartSettings(Consumer<ScheduleActionStartSettings.Builder> scheduleActionStartSettings)
The time for the action to start in the channel.
|
ScheduleAction.Builder |
scheduleActionStartSettings(ScheduleActionStartSettings scheduleActionStartSettings)
The time for the action to start in the channel.
|
copy
applyMutation, build
ScheduleAction.Builder actionName(String actionName)
actionName
- The name of the action, must be unique within the schedule. This name provides the main reference to
an action once it is added to the schedule. A name is unique if it is no longer in the schedule. The
schedule is automatically cleaned up to remove actions with a start time of more than 1 hour ago
(approximately) so at that point a name can be reused.ScheduleAction.Builder scheduleActionSettings(ScheduleActionSettings scheduleActionSettings)
scheduleActionSettings
- Settings for this schedule action.default ScheduleAction.Builder scheduleActionSettings(Consumer<ScheduleActionSettings.Builder> scheduleActionSettings)
ScheduleActionSettings.Builder
avoiding the need to create one manually via
ScheduleActionSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to scheduleActionSettings(ScheduleActionSettings)
.scheduleActionSettings
- a consumer that will call methods on ScheduleActionSettings.Builder
scheduleActionSettings(ScheduleActionSettings)
ScheduleAction.Builder scheduleActionStartSettings(ScheduleActionStartSettings scheduleActionStartSettings)
scheduleActionStartSettings
- The time for the action to start in the channel.default ScheduleAction.Builder scheduleActionStartSettings(Consumer<ScheduleActionStartSettings.Builder> scheduleActionStartSettings)
ScheduleActionStartSettings.Builder
avoiding the need to create one manually via
ScheduleActionStartSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to scheduleActionStartSettings(ScheduleActionStartSettings)
.scheduleActionStartSettings
- a consumer that will call methods on ScheduleActionStartSettings.Builder
scheduleActionStartSettings(ScheduleActionStartSettings)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.