Interface Flow.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Flow.Builder,,Flow> SdkBuilder<Flow.Builder,,Flow> SdkPojo
- Enclosing class:
Flow
@Mutable
@NotThreadSafe
public static interface Flow.Builder
extends SdkPojo, CopyableBuilder<Flow.Builder,Flow>
-
Method Summary
Modifier and TypeMethodDescriptionThe flow's name, unique within the link.default Flow.Builderpipeline(Consumer<FlowPipeline.Builder> pipeline) The pipeline that the flow's modules run in.pipeline(FlowPipeline pipeline) The pipeline that the flow's modules run in.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The flow's name, unique within the link.
- Parameters:
name- The flow's name, unique within the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipeline
The pipeline that the flow's modules run in. In a sequential pipeline, each module sees the previous module's output. In a phased pipeline, a phase's modules see the prior phase's output, not each other's.
- Parameters:
pipeline- The pipeline that the flow's modules run in. In a sequential pipeline, each module sees the previous module's output. In a phased pipeline, a phase's modules see the prior phase's output, not each other's.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipeline
The pipeline that the flow's modules run in. In a sequential pipeline, each module sees the previous module's output. In a phased pipeline, a phase's modules see the prior phase's output, not each other's.
This is a convenience method that creates an instance of theFlowPipeline.Builderavoiding the need to create one manually viaFlowPipeline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topipeline(FlowPipeline).- Parameters:
pipeline- a consumer that will call methods onFlowPipeline.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-