public static interface SuggestionQuery.Builder extends SdkPojo, CopyableBuilder<SuggestionQuery.Builder,SuggestionQuery>
Modifier and Type | Method and Description |
---|---|
default SuggestionQuery.Builder |
propertyNameQuery(Consumer<PropertyNameQuery.Builder> propertyNameQuery)
Defines a property name hint.
|
SuggestionQuery.Builder |
propertyNameQuery(PropertyNameQuery propertyNameQuery)
Defines a property name hint.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SuggestionQuery.Builder propertyNameQuery(PropertyNameQuery propertyNameQuery)
Defines a property name hint. Only property names that begin with the specified hint are included in the response.
propertyNameQuery
- Defines a property name hint. Only property names that begin with the specified hint are included in
the response.default SuggestionQuery.Builder propertyNameQuery(Consumer<PropertyNameQuery.Builder> propertyNameQuery)
Defines a property name hint. Only property names that begin with the specified hint are included in the response.
This is a convenience that creates an instance of thePropertyNameQuery.Builder
avoiding the need to
create one manually via PropertyNameQuery.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to propertyNameQuery(PropertyNameQuery)
.propertyNameQuery
- a consumer that will call methods on PropertyNameQuery.Builder
propertyNameQuery(PropertyNameQuery)
Copyright © 2020. All rights reserved.