public static interface Predicate.Builder extends SdkPojo, CopyableBuilder<Predicate.Builder,Predicate>
| Modifier and Type | Method and Description |
|---|---|
Predicate.Builder |
conditions(Collection<Condition> conditions)
A list of the conditions that determine when the trigger will fire.
|
Predicate.Builder |
conditions(Condition... conditions)
A list of the conditions that determine when the trigger will fire.
|
Predicate.Builder |
conditions(Consumer<Condition.Builder>... conditions)
A list of the conditions that determine when the trigger will fire.
|
Predicate.Builder |
logical(Logical logical)
An optional field if only one condition is listed.
|
Predicate.Builder |
logical(String logical)
An optional field if only one condition is listed.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPredicate.Builder logical(String logical)
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
Predicate.Builder logical(Logical logical)
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
Predicate.Builder conditions(Collection<Condition> conditions)
A list of the conditions that determine when the trigger will fire.
conditions - A list of the conditions that determine when the trigger will fire.Predicate.Builder conditions(Condition... conditions)
A list of the conditions that determine when the trigger will fire.
conditions - A list of the conditions that determine when the trigger will fire.Predicate.Builder conditions(Consumer<Condition.Builder>... conditions)
A list of the conditions that determine when the trigger will fire.
This is a convenience method that creates an instance of theCondition.Builder avoiding the need to create one manually
via Condition.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
Condition.Builder#conditions(java.util.Collection) Copyright © 2023. All rights reserved.