Interface FlowPipeline.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FlowPipeline.Builder,,FlowPipeline> SdkBuilder<FlowPipeline.Builder,,FlowPipeline> SdkPojo
- Enclosing class:
FlowPipeline
@Mutable
@NotThreadSafe
public static interface FlowPipeline.Builder
extends SdkPojo, CopyableBuilder<FlowPipeline.Builder,FlowPipeline>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FlowPipeline.Builderphased(Consumer<PhasedPipeline.Builder> phased) Phases run in order; a phase's modules run concurrently on the same input.phased(PhasedPipeline phased) Phases run in order; a phase's modules run concurrently on the same input.default FlowPipeline.Buildersequential(Consumer<SequentialPipeline.Builder> sequential) Modules run in list order.sequential(SequentialPipeline sequential) Modules run in list order.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
-
sequential
Modules run in list order. Use it when each module needs the previous module's output.
- Parameters:
sequential- Modules run in list order. Use it when each module needs the previous module's output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequential
Modules run in list order. Use it when each module needs the previous module's output.
This is a convenience method that creates an instance of theSequentialPipeline.Builderavoiding the need to create one manually viaSequentialPipeline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosequential(SequentialPipeline).- Parameters:
sequential- a consumer that will call methods onSequentialPipeline.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phased
Phases run in order; a phase's modules run concurrently on the same input. Use it when a phase's modules don't depend on each other.
- Parameters:
phased- Phases run in order; a phase's modules run concurrently on the same input. Use it when a phase's modules don't depend on each other.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phased
Phases run in order; a phase's modules run concurrently on the same input. Use it when a phase's modules don't depend on each other.
This is a convenience method that creates an instance of thePhasedPipeline.Builderavoiding the need to create one manually viaPhasedPipeline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophased(PhasedPipeline).- Parameters:
phased- a consumer that will call methods onPhasedPipeline.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-