public static interface Predicate.Builder extends SdkPojo, CopyableBuilder<Predicate.Builder,Predicate>
| Modifier and Type | Method and Description |
|---|---|
Predicate.Builder |
and(Collection<Predicate> and)
A list of predicates to combine logically.
|
Predicate.Builder |
and(Consumer<Predicate.Builder>... and)
A list of predicates to combine logically.
|
Predicate.Builder |
and(Predicate... and)
A list of predicates to combine logically.
|
Predicate.Builder |
field(String field)
The field to query.
|
Predicate.Builder |
operand(String operand)
The value to use when performing the evaluation.
|
Predicate.Builder |
operator(String operator)
The operator to use to perform the evaluation.
|
Predicate.Builder |
or(Collection<Predicate> or)
A list of predicates to combine logically.
|
Predicate.Builder |
or(Consumer<Predicate.Builder>... or)
A list of predicates to combine logically.
|
Predicate.Builder |
or(Predicate... or)
A list of predicates to combine logically.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPredicate.Builder and(Collection<Predicate> and)
A list of predicates to combine logically.
and - A list of predicates to combine logically.Predicate.Builder and(Predicate... and)
A list of predicates to combine logically.
and - A list of predicates to combine logically.Predicate.Builder and(Consumer<Predicate.Builder>... and)
A list of predicates to combine logically.
This is a convenience method that creates an instance of thePredicate.Builder avoiding the need to create
one manually via Predicate.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #and(List.
and - a consumer that will call methods on
Predicate.Builder#and(java.util.Collection) Predicate.Builder field(String field)
The field to query.
field - The field to query.Predicate.Builder operand(String operand)
The value to use when performing the evaluation.
operand - The value to use when performing the evaluation.Predicate.Builder operator(String operator)
The operator to use to perform the evaluation.
operator - The operator to use to perform the evaluation.Predicate.Builder or(Collection<Predicate> or)
A list of predicates to combine logically.
or - A list of predicates to combine logically.Predicate.Builder or(Predicate... or)
A list of predicates to combine logically.
or - A list of predicates to combine logically.Predicate.Builder or(Consumer<Predicate.Builder>... or)
A list of predicates to combine logically.
This is a convenience method that creates an instance of thePredicate.Builder avoiding the need to create
one manually via Predicate.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #or(List.
or - a consumer that will call methods on
Predicate.Builder#or(java.util.Collection) Copyright © 2022. All rights reserved.