Interface Query.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Query.Builder,
,Query> SdkBuilder<Query.Builder,
,Query> SdkPojo
- Enclosing class:
Query
-
Method Summary
Modifier and TypeMethodDescriptionselectors
(Collection<Selector> selectors) List of selectors that define the query.selectors
(Consumer<Selector.Builder>... selectors) List of selectors that define the query.List of selectors that define the query.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
-
selectors
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
- Parameters:
selectors
- List of selectors that define the query. An object must satisfy all of the selectors to match the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
- Parameters:
selectors
- List of selectors that define the query. An object must satisfy all of the selectors to match the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
This is a convenience method that creates an instance of theSelector.Builder
avoiding the need to create one manually viaSelector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselectors(List<Selector>)
.- Parameters:
selectors
- a consumer that will call methods onSelector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-