Interface SuggestionQuery.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuggestionQuery.Builder,SuggestionQuery>,SdkBuilder<SuggestionQuery.Builder,SuggestionQuery>,SdkPojo
- Enclosing class:
- SuggestionQuery
public static interface SuggestionQuery.Builder extends SdkPojo, CopyableBuilder<SuggestionQuery.Builder,SuggestionQuery>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SuggestionQuery.BuilderpropertyNameQuery(Consumer<PropertyNameQuery.Builder> propertyNameQuery)Defines a property name hint.SuggestionQuery.BuilderpropertyNameQuery(PropertyNameQuery propertyNameQuery)Defines a property name hint.-
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, sdkFields
-
-
-
-
Method Detail
-
propertyNameQuery
SuggestionQuery.Builder propertyNameQuery(PropertyNameQuery propertyNameQuery)
Defines a property name hint. Only property names that begin with the specified hint are included in the response.
- Parameters:
propertyNameQuery- Defines a property name hint. Only property names that begin with the specified hint are included in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyNameQuery
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 method that creates an instance of thePropertyNameQuery.Builderavoiding the need to create one manually viaPropertyNameQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topropertyNameQuery(PropertyNameQuery).- Parameters:
propertyNameQuery- a consumer that will call methods onPropertyNameQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
propertyNameQuery(PropertyNameQuery)
-
-