public static interface Condition.Builder extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
| Modifier and Type | Method and Description |
|---|---|
Condition.Builder |
conditions(Collection<SimpleCondition> conditions)
The conditions to evaluate for the activity.
|
Condition.Builder |
conditions(Consumer<SimpleCondition.Builder>... conditions)
The conditions to evaluate for the activity.
|
Condition.Builder |
conditions(SimpleCondition... conditions)
The conditions to evaluate for the activity.
|
Condition.Builder |
operator(Operator operator)
Specifies how to handle multiple conditions for the activity.
|
Condition.Builder |
operator(String operator)
Specifies how to handle multiple conditions for the activity.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCondition.Builder conditions(Collection<SimpleCondition> conditions)
The conditions to evaluate for the activity.
conditions - The conditions to evaluate for the activity.Condition.Builder conditions(SimpleCondition... conditions)
The conditions to evaluate for the activity.
conditions - The conditions to evaluate for the activity.Condition.Builder conditions(Consumer<SimpleCondition.Builder>... conditions)
The conditions to evaluate for the activity.
This is a convenience method 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 #conditions(List.
conditions - a consumer that will call methods on
SimpleCondition.Builder#conditions(java.util.Collection) Condition.Builder operator(String operator)
Specifies how to handle multiple conditions for the activity. For example, if you specify two conditions for an activity, whether both or only one of the conditions must be met for the activity to be performed.
operator - Specifies how to handle multiple conditions for the activity. For example, if you specify two
conditions for an activity, whether both or only one of the conditions must be met for the activity to
be performed.Operator,
OperatorCondition.Builder operator(Operator operator)
Specifies how to handle multiple conditions for the activity. For example, if you specify two conditions for an activity, whether both or only one of the conditions must be met for the activity to be performed.
operator - Specifies how to handle multiple conditions for the activity. For example, if you specify two
conditions for an activity, whether both or only one of the conditions must be met for the activity to
be performed.Operator,
OperatorCopyright © 2023. All rights reserved.