Interface SuggestQueryResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuggestQueryResult.Builder,SuggestQueryResult>,SdkBuilder<SuggestQueryResult.Builder,SuggestQueryResult>,SdkPojo
- Enclosing class:
- SuggestQueryResult
public static interface SuggestQueryResult.Builder extends SdkPojo, CopyableBuilder<SuggestQueryResult.Builder,SuggestQueryResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SuggestQueryResult.BuilderqueryId(String queryId)QueryId can be used to complete a follow up query through the SearchText API.SuggestQueryResult.BuilderqueryType(String queryType)The query type.SuggestQueryResult.BuilderqueryType(QueryType queryType)The query type.-
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
-
queryId
SuggestQueryResult.Builder queryId(String queryId)
QueryId can be used to complete a follow up query through the SearchText API. The QueryId retains context from the original Suggest request such as filters, political view and language. See the SearchText API documentation for more details SearchText API docs.
- Parameters:
queryId- QueryId can be used to complete a follow up query through the SearchText API. The QueryId retains context from the original Suggest request such as filters, political view and language. See the SearchText API documentation for more details SearchText API docs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryType
SuggestQueryResult.Builder queryType(String queryType)
The query type. Category qeuries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.
- Parameters:
queryType- The query type. Category qeuries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryType,QueryType
-
queryType
SuggestQueryResult.Builder queryType(QueryType queryType)
The query type. Category qeuries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.
- Parameters:
queryType- The query type. Category qeuries will search for places which have an entry matching the given category, for example "doctor office". BusinessChain queries will search for instances of a given business.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryType,QueryType
-
-