Interface BatchScheduleActionCreateResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchScheduleActionCreateResult.Builder,,BatchScheduleActionCreateResult> SdkBuilder<BatchScheduleActionCreateResult.Builder,,BatchScheduleActionCreateResult> SdkPojo
- Enclosing class:
BatchScheduleActionCreateResult
public static interface BatchScheduleActionCreateResult.Builder
extends SdkPojo, CopyableBuilder<BatchScheduleActionCreateResult.Builder,BatchScheduleActionCreateResult>
-
Method Summary
Modifier and TypeMethodDescriptionscheduleActions(Collection<ScheduleAction> scheduleActions) List of actions that have been created in the schedule.scheduleActions(Consumer<ScheduleAction.Builder>... scheduleActions) List of actions that have been created in the schedule.scheduleActions(ScheduleAction... scheduleActions) List of actions that have been created in the schedule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
scheduleActions
List of actions that have been created in the schedule.- Parameters:
scheduleActions- List of actions that have been created in the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleActions
List of actions that have been created in the schedule.- Parameters:
scheduleActions- List of actions that have been created in the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleActions
BatchScheduleActionCreateResult.Builder scheduleActions(Consumer<ScheduleAction.Builder>... scheduleActions) List of actions that have been created in the schedule. This is a convenience method that creates an instance of theScheduleAction.Builderavoiding the need to create one manually viaScheduleAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleActions(List<ScheduleAction>).- Parameters:
scheduleActions- a consumer that will call methods onScheduleAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-