public static interface SearchExpression.Builder extends SdkPojo, CopyableBuilder<SearchExpression.Builder,SearchExpression>
Modifier and Type | Method and Description |
---|---|
SearchExpression.Builder |
filters(Collection<Filter> filters)
A list of filter objects.
|
SearchExpression.Builder |
filters(Consumer<Filter.Builder>... filters)
A list of filter objects.
|
SearchExpression.Builder |
filters(Filter... filters)
A list of filter objects.
|
SearchExpression.Builder |
nestedFilters(Collection<NestedFilters> nestedFilters)
A list of nested filter objects.
|
SearchExpression.Builder |
nestedFilters(Consumer<NestedFilters.Builder>... nestedFilters)
A list of nested filter objects.
|
SearchExpression.Builder |
nestedFilters(NestedFilters... nestedFilters)
A list of nested filter objects.
|
SearchExpression.Builder |
operator(BooleanOperator operator)
A Boolean operator used to evaluate the search expression.
|
SearchExpression.Builder |
operator(String operator)
A Boolean operator used to evaluate the search expression.
|
SearchExpression.Builder |
subExpressions(Collection<SearchExpression> subExpressions)
A list of search expression objects.
|
SearchExpression.Builder |
subExpressions(Consumer<SearchExpression.Builder>... subExpressions)
A list of search expression objects.
|
SearchExpression.Builder |
subExpressions(SearchExpression... subExpressions)
A list of search expression objects.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SearchExpression.Builder filters(Collection<Filter> filters)
A list of filter objects.
filters
- A list of filter objects.SearchExpression.Builder filters(Filter... filters)
A list of filter objects.
filters
- A list of filter objects.SearchExpression.Builder filters(Consumer<Filter.Builder>... filters)
A list of filter objects.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
SearchExpression.Builder nestedFilters(Collection<NestedFilters> nestedFilters)
A list of nested filter objects.
nestedFilters
- A list of nested filter objects.SearchExpression.Builder nestedFilters(NestedFilters... nestedFilters)
A list of nested filter objects.
nestedFilters
- A list of nested filter objects.SearchExpression.Builder nestedFilters(Consumer<NestedFilters.Builder>... nestedFilters)
A list of nested filter objects.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #nestedFilters(List)
.nestedFilters
- a consumer that will call methods on List.Builder
#nestedFilters(List)
SearchExpression.Builder subExpressions(Collection<SearchExpression> subExpressions)
A list of search expression objects.
subExpressions
- A list of search expression objects.SearchExpression.Builder subExpressions(SearchExpression... subExpressions)
A list of search expression objects.
subExpressions
- A list of search expression objects.SearchExpression.Builder subExpressions(Consumer<SearchExpression.Builder>... subExpressions)
A list of search expression objects.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #subExpressions(List)
.subExpressions
- a consumer that will call methods on List.Builder
#subExpressions(List)
SearchExpression.Builder operator(String 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, specify Or
.
The default value is And
.
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,
specify Or
. The default value is And
.BooleanOperator
,
BooleanOperator
SearchExpression.Builder operator(BooleanOperator 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, specify Or
.
The default value is And
.
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,
specify Or
. The default value is And
.BooleanOperator
,
BooleanOperator
Copyright © 2020. All rights reserved.