Interface Query.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Query.Builder,Query>,SdkBuilder<Query.Builder,Query>,SdkPojo
- Enclosing class:
- Query
public static interface Query.Builder extends SdkPojo, CopyableBuilder<Query.Builder,Query>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Query.Builderselectors(Collection<Selector> selectors)List of selectors that define the query.Query.Builderselectors(Consumer<Selector.Builder>... selectors)List of selectors that define the query.Query.Builderselectors(Selector... selectors)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
selectors
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.
- 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
Query.Builder selectors(Selector... 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
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.Builderavoiding the need to create one manually viaSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#selectors(List.) - 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:
#selectors(java.util.Collection)
-
-