Interface LoopControllerFlowNodeConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LoopControllerFlowNodeConfiguration.Builder,
,LoopControllerFlowNodeConfiguration> SdkBuilder<LoopControllerFlowNodeConfiguration.Builder,
,LoopControllerFlowNodeConfiguration> SdkPojo
- Enclosing class:
LoopControllerFlowNodeConfiguration
@Mutable
@NotThreadSafe
public static interface LoopControllerFlowNodeConfiguration.Builder
extends SdkPojo, CopyableBuilder<LoopControllerFlowNodeConfiguration.Builder,LoopControllerFlowNodeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncontinueCondition
(Consumer<FlowCondition.Builder> continueCondition) Specifies the condition that determines when the flow exits the DoWhile loop.continueCondition
(FlowCondition continueCondition) Specifies the condition that determines when the flow exits the DoWhile loop.maxIterations
(Integer maxIterations) Specifies the maximum number of times the DoWhile loop can iterate before the flow exits the loop.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
-
continueCondition
Specifies the condition that determines when the flow exits the DoWhile loop. The loop executes until this condition evaluates to true.
- Parameters:
continueCondition
- Specifies the condition that determines when the flow exits the DoWhile loop. The loop executes until this condition evaluates to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
continueCondition
default LoopControllerFlowNodeConfiguration.Builder continueCondition(Consumer<FlowCondition.Builder> continueCondition) Specifies the condition that determines when the flow exits the DoWhile loop. The loop executes until this condition evaluates to true.
This is a convenience method that creates an instance of theFlowCondition.Builder
avoiding the need to create one manually viaFlowCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontinueCondition(FlowCondition)
.- Parameters:
continueCondition
- a consumer that will call methods onFlowCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxIterations
Specifies the maximum number of times the DoWhile loop can iterate before the flow exits the loop.
- Parameters:
maxIterations
- Specifies the maximum number of times the DoWhile loop can iterate before the flow exits the loop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-