public static interface MultiConditionalBranch.Builder extends SdkPojo, CopyableBuilder<MultiConditionalBranch.Builder,MultiConditionalBranch>
| Modifier and Type | Method and Description |
|---|---|
default MultiConditionalBranch.Builder |
condition(Consumer<SimpleCondition.Builder> condition)
The condition to evaluate for the activity path.
|
MultiConditionalBranch.Builder |
condition(SimpleCondition condition)
The condition to evaluate for the activity path.
|
MultiConditionalBranch.Builder |
nextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMultiConditionalBranch.Builder condition(SimpleCondition condition)
The condition to evaluate for the activity path.
condition - The condition to evaluate for the activity path.default MultiConditionalBranch.Builder condition(Consumer<SimpleCondition.Builder> condition)
The condition to evaluate for the activity path.
This is a convenience that creates an instance of theSimpleCondition.Builder avoiding the need to
create one manually via SimpleCondition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to condition(SimpleCondition).condition - a consumer that will call methods on SimpleCondition.Buildercondition(SimpleCondition)MultiConditionalBranch.Builder nextActivity(String nextActivity)
The unique identifier for the next activity to perform, after completing the activity for the path.
nextActivity - The unique identifier for the next activity to perform, after completing the activity for the path.Copyright © 2019. All rights reserved.