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 theSelector.Builder avoiding the need to create one
manually via Selector.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #selectors(List.
selectors - a consumer that will call methods on
Selector.Builder#selectors(java.util.Collection) Copyright © 2022. All rights reserved.