Interface Predicate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Predicate.Builder,Predicate>,SdkBuilder<Predicate.Builder,Predicate>,SdkPojo
- Enclosing class:
- Predicate
public static interface Predicate.Builder extends SdkPojo, CopyableBuilder<Predicate.Builder,Predicate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Predicate.Builderand(Collection<Predicate> and)A list of predicates to combine logically.Predicate.Builderand(Consumer<Predicate.Builder>... and)A list of predicates to combine logically.Predicate.Builderand(Predicate... and)A list of predicates to combine logically.Predicate.Builderfield(String field)The field to query.Predicate.Builderoperand(String operand)The value to use when performing the evaluation.Predicate.BuilderoperandType(String operandType)The type of value to use when performing the evaluation.Predicate.Builderoperator(String operator)The operator to use to perform the evaluation.Predicate.Builderor(Collection<Predicate> or)A list of predicates to combine logically.Predicate.Builderor(Consumer<Predicate.Builder>... or)A list of predicates to combine logically.Predicate.Builderor(Predicate... or)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 Detail
-
or
Predicate.Builder or(Collection<Predicate> 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
Predicate.Builder or(Predicate... 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
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.Builderavoiding the need to create one manually viaPredicate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#or(List.) - 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:
#or(java.util.Collection)
-
and
Predicate.Builder and(Collection<Predicate> 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
Predicate.Builder and(Predicate... 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
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.Builderavoiding the need to create one manually viaPredicate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#and(List.) - 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:
#and(java.util.Collection)
-
field
Predicate.Builder field(String 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
Predicate.Builder operator(String 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
Predicate.Builder operand(String 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
Predicate.Builder operandType(String 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.
-
-