Interface Predicate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Predicate.Builder,
,Predicate> SdkBuilder<Predicate.Builder,
,Predicate> SdkPojo
- Enclosing class:
Predicate
@Mutable
@NotThreadSafe
public static interface Predicate.Builder
extends SdkPojo, CopyableBuilder<Predicate.Builder,Predicate>
-
Method Summary
Modifier and TypeMethodDescriptionand
(Collection<Predicate> and) A list of predicates to combine logically.and
(Consumer<Predicate.Builder>... and) A list of predicates to combine logically.A list of predicates to combine logically.The field to query.The value to use when performing the evaluation.operandType
(String operandType) The type of value to use when performing the evaluation.The operator to use to perform the evaluation.or
(Collection<Predicate> or) A list of predicates to combine logically.or
(Consumer<Predicate.Builder>... or) A list of predicates to combine logically.A list of predicates to combine logically.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
or
A list of predicates to combine logically.
- Parameters:
or
- A list of predicates to combine logically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
or
A list of predicates to combine logically.
- Parameters:
or
- A list of predicates to combine logically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPredicate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toor(List<Predicate>)
.- Parameters:
or
- a consumer that will call methods onPredicate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
and
A list of predicates to combine logically.
- Parameters:
and
- A list of predicates to combine logically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
A list of predicates to combine logically.
- Parameters:
and
- A list of predicates to combine logically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPredicate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toand(List<Predicate>)
.- Parameters:
and
- a consumer that will call methods onPredicate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
field
The field to query.
- Parameters:
field
- The field to query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
The operator to use to perform the evaluation.
- Parameters:
operator
- The operator to use to perform the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operand
The value to use when performing the evaluation.
- Parameters:
operand
- The value to use when performing the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operandType
The type of value to use when performing the evaluation.
- Parameters:
operandType
- The type of value to use when performing the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-