public static interface Query.Builder extends SdkPojo, 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildQuery.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 method 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 © 2022. All rights reserved.