Interface MultiConditionalBranch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MultiConditionalBranch.Builder,
,MultiConditionalBranch> SdkBuilder<MultiConditionalBranch.Builder,
,MultiConditionalBranch> SdkPojo
- Enclosing class:
MultiConditionalBranch
public static interface MultiConditionalBranch.Builder
extends SdkPojo, CopyableBuilder<MultiConditionalBranch.Builder,MultiConditionalBranch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MultiConditionalBranch.Builder
condition
(Consumer<SimpleCondition.Builder> condition) The condition to evaluate for the activity path.condition
(SimpleCondition condition) The condition to evaluate for the activity path.nextActivity
(String nextActivity) The unique identifier for the next activity to perform, after completing the activity for the path.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, sdkFields
-
Method Details
-
condition
The condition to evaluate for the activity path.
- Parameters:
condition
- The condition to evaluate for the activity path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition to evaluate for the activity path.
This is a convenience method that creates an instance of theSimpleCondition.Builder
avoiding the need to create one manually viaSimpleCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocondition(SimpleCondition)
.- Parameters:
condition
- a consumer that will call methods onSimpleCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextActivity
The unique identifier for the next activity to perform, after completing the activity for the path.
- Parameters:
nextActivity
- The unique identifier for the next activity to perform, after completing the activity for the path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-