public static interface Query.Builder extends CopyableBuilder<Query.Builder,Query>
Modifier and Type | Method and Description |
---|---|
Query.Builder |
selectors(Collection<Selector> selectors)
List of selectors that define the query.
|
Query.Builder |
selectors(Consumer<Selector.Builder>... selectors)
List of selectors that define the query.
|
Query.Builder |
selectors(Selector... selectors)
List of selectors that define the query.
|
copy
applyMutation, build
Query.Builder selectors(Collection<Selector> selectors)
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
selectors
- List of selectors that define the query. An object must satisfy all of the selectors to match the
query.Query.Builder selectors(Selector... selectors)
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
selectors
- List of selectors that define the query. An object must satisfy all of the selectors to match the
query.Query.Builder selectors(Consumer<Selector.Builder>... selectors)
List of selectors that define the query. An object must satisfy all of the selectors to match the query.
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 #selectors(List)
.selectors
- a consumer that will call methods on List.Builder
#selectors(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.