Interface SearchExpression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchExpression.Builder,
,SearchExpression> SdkBuilder<SearchExpression.Builder,
,SearchExpression> SdkPojo
- Enclosing class:
SearchExpression
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<Filter> filters) A list of filter objects.filters
(Consumer<Filter.Builder>... filters) A list of filter objects.A list of filter objects.nestedFilters
(Collection<NestedFilters> nestedFilters) A list of nested filter objects.nestedFilters
(Consumer<NestedFilters.Builder>... nestedFilters) A list of nested filter objects.nestedFilters
(NestedFilters... nestedFilters) A list of nested filter objects.A Boolean operator used to evaluate the search expression.operator
(BooleanOperator operator) A Boolean operator used to evaluate the search expression.subExpressions
(Collection<SearchExpression> subExpressions) A list of search expression objects.subExpressions
(Consumer<SearchExpression.Builder>... subExpressions) A list of search expression objects.subExpressions
(SearchExpression... subExpressions) A list of search expression objects.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, sdkFields
-
Method Details
-
filters
A list of filter objects.
- Parameters:
filters
- A list of filter objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A list of filter objects.
- Parameters:
filters
- A list of filter objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A list of filter objects.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nestedFilters
A list of nested filter objects.
- Parameters:
nestedFilters
- A list of nested filter objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nestedFilters
A list of nested filter objects.
- Parameters:
nestedFilters
- A list of nested filter objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nestedFilters
A list of nested filter objects.
This is a convenience method that creates an instance of theNestedFilters.Builder
avoiding the need to create one manually viaNestedFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonestedFilters(List<NestedFilters>)
.- Parameters:
nestedFilters
- a consumer that will call methods onNestedFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subExpressions
A list of search expression objects.
- Parameters:
subExpressions
- A list of search expression objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subExpressions
A list of search expression objects.
- Parameters:
subExpressions
- A list of search expression objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subExpressions
A list of search expression objects.
This is a convenience method that creates an instance of theSearchExpression.Builder
avoiding the need to create one manually viaSearchExpression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubExpressions(List<SearchExpression>)
.- Parameters:
subExpressions
- a consumer that will call methods onSearchExpression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify
And
. If only a single conditional statement needs to be true for the entire search expression to be true, specifyOr
. The default value isAnd
.- Parameters:
operator
- A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specifyAnd
. If only a single conditional statement needs to be true for the entire search expression to be true, specifyOr
. The default value isAnd
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify
And
. If only a single conditional statement needs to be true for the entire search expression to be true, specifyOr
. The default value isAnd
.- Parameters:
operator
- A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specifyAnd
. If only a single conditional statement needs to be true for the entire search expression to be true, specifyOr
. The default value isAnd
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-