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 that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #conditions(List) .conditions - a consumer that will call methods on List.Builder #conditions(List) 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 © 2019. All rights reserved.