Interface CustomOrchestration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomOrchestration.Builder,
,CustomOrchestration> SdkBuilder<CustomOrchestration.Builder,
,CustomOrchestration> SdkPojo
- Enclosing class:
CustomOrchestration
@Mutable
@NotThreadSafe
public static interface CustomOrchestration.Builder
extends SdkPojo, CopyableBuilder<CustomOrchestration.Builder,CustomOrchestration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomOrchestration.Builder
executor
(Consumer<OrchestrationExecutor.Builder> executor) The structure of the executor invoking the actions in custom orchestration.executor
(OrchestrationExecutor executor) The structure of the executor invoking the actions in custom orchestration.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, sdkFieldNameToField, sdkFields
-
Method Details
-
executor
The structure of the executor invoking the actions in custom orchestration.
- Parameters:
executor
- The structure of the executor invoking the actions in custom orchestration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executor
The structure of the executor invoking the actions in custom orchestration.
This is a convenience method that creates an instance of theOrchestrationExecutor.Builder
avoiding the need to create one manually viaOrchestrationExecutor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutor(OrchestrationExecutor)
.- Parameters:
executor
- a consumer that will call methods onOrchestrationExecutor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-