Interface MultiConditionalBranch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MultiConditionalBranch.Builder,,MultiConditionalBranch> SdkBuilder<MultiConditionalBranch.Builder,,MultiConditionalBranch> SdkPojo
- Enclosing class:
MultiConditionalBranch
@Mutable
@NotThreadSafe
public static interface MultiConditionalBranch.Builder
extends SdkPojo, CopyableBuilder<MultiConditionalBranch.Builder,MultiConditionalBranch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MultiConditionalBranch.Buildercondition(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
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
-
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.Builderavoiding the need to create one manually viaSimpleCondition.builder().When the
Consumercompletes,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.
-