Interface BatchScheduleActionCreateRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchScheduleActionCreateRequest.Builder,BatchScheduleActionCreateRequest>,SdkBuilder<BatchScheduleActionCreateRequest.Builder,BatchScheduleActionCreateRequest>,SdkPojo
- Enclosing class:
- BatchScheduleActionCreateRequest
public static interface BatchScheduleActionCreateRequest.Builder extends SdkPojo, CopyableBuilder<BatchScheduleActionCreateRequest.Builder,BatchScheduleActionCreateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchScheduleActionCreateRequest.BuilderscheduleActions(Collection<ScheduleAction> scheduleActions)A list of schedule actions to create.BatchScheduleActionCreateRequest.BuilderscheduleActions(Consumer<ScheduleAction.Builder>... scheduleActions)A list of schedule actions to create.BatchScheduleActionCreateRequest.BuilderscheduleActions(ScheduleAction... scheduleActions)A list of schedule actions to create.-
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
-
scheduleActions
BatchScheduleActionCreateRequest.Builder scheduleActions(Collection<ScheduleAction> scheduleActions)
A list of schedule actions to create.- Parameters:
scheduleActions- A list of schedule actions to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleActions
BatchScheduleActionCreateRequest.Builder scheduleActions(ScheduleAction... scheduleActions)
A list of schedule actions to create.- Parameters:
scheduleActions- A list of schedule actions to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleActions
BatchScheduleActionCreateRequest.Builder scheduleActions(Consumer<ScheduleAction.Builder>... scheduleActions)
A list of schedule actions to create. 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 to#scheduleActions(List.) - 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:
#scheduleActions(java.util.Collection)
-
-