Interface SearchExpression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchExpression.Builder,
,SearchExpression> SdkBuilder<SearchExpression.Builder,
,SearchExpression> SdkPojo
- Enclosing class:
SearchExpression
@Mutable
@NotThreadSafe
public static interface SearchExpression.Builder
extends SdkPojo, CopyableBuilder<SearchExpression.Builder,SearchExpression>
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<Filter> filters) The search expression filters.filters
(Consumer<Filter.Builder>... filters) The search expression filters.The search expression filters.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
-
filters
The search expression filters.
- Parameters:
filters
- The search expression filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The search expression filters.
- Parameters:
filters
- The search expression filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The search expression filters.
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:
-