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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LoopControllerFlowNodeConfiguration.BuildercontinueCondition(Consumer<FlowCondition.Builder> continueCondition)Specifies the condition that determines when the flow exits the DoWhile loop.LoopControllerFlowNodeConfiguration.BuildercontinueCondition(FlowCondition continueCondition)Specifies the condition that determines when the flow exits the DoWhile loop.LoopControllerFlowNodeConfiguration.BuildermaxIterations(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 Detail
-
continueCondition
LoopControllerFlowNodeConfiguration.Builder continueCondition(FlowCondition 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.Builderavoiding the need to create one manually viaFlowCondition.builder().When the
Consumercompletes,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:
continueCondition(FlowCondition)
-
maxIterations
LoopControllerFlowNodeConfiguration.Builder maxIterations(Integer 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.
-
-