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
Modifier and TypeMethodDescriptiondefault SuggestionQuery.BuilderpropertyNameQuery(Consumer<PropertyNameQuery.Builder> propertyNameQuery) Defines a property name hint.propertyNameQuery(PropertyNameQuery propertyNameQuery) Defines a property name hint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-