Interface FilterExpression.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FilterExpression.Builder,,FilterExpression> SdkBuilder<FilterExpression.Builder,,FilterExpression> SdkPojo
- Enclosing class:
- FilterExpression
@Mutable
@NotThreadSafe
public static interface FilterExpression.Builder
extends SdkPojo, CopyableBuilder<FilterExpression.Builder,FilterExpression>
-
Method Summary
Modifier and TypeMethodDescriptionWhether the expression is to be negated.The type of operation to perform in the expression.operation(FilterOperation operation) The type of operation to perform in the expression.values(Collection<FilterValue> values) A list of filter values.values(Consumer<FilterValue.Builder>... values) A list of filter values.values(FilterValue... values) A list of filter values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
operation
The type of operation to perform in the expression.
- Parameters:
operation- The type of operation to perform in the expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
The type of operation to perform in the expression.
- Parameters:
operation- The type of operation to perform in the expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
negated
Whether the expression is to be negated.
- Parameters:
negated- Whether the expression is to be negated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
A list of filter values.
- Parameters:
values- A list of filter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
A list of filter values.
- Parameters:
values- A list of filter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
A list of filter values.
This is a convenience method that creates an instance of theFilterValue.Builderavoiding the need to create one manually viaFilterValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalues(List<FilterValue>).- Parameters:
values- a consumer that will call methods onFilterValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-