public static interface GetQuerySuggestionsRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<GetQuerySuggestionsRequest.Builder,GetQuerySuggestionsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetQuerySuggestionsRequest.Builder |
indexId(String indexId)
The identifier of the index you want to get query suggestions from.
|
GetQuerySuggestionsRequest.Builder |
maxSuggestionsCount(Integer maxSuggestionsCount)
The maximum number of query suggestions you want to show to your users.
|
GetQuerySuggestionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetQuerySuggestionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetQuerySuggestionsRequest.Builder |
queryText(String queryText)
The text of a user's query to generate query suggestions.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetQuerySuggestionsRequest.Builder indexId(String indexId)
The identifier of the index you want to get query suggestions from.
indexId - The identifier of the index you want to get query suggestions from.GetQuerySuggestionsRequest.Builder queryText(String queryText)
The text of a user's query to generate query suggestions.
A query is suggested if the query prefix matches what a user starts to type as their query.
Amazon Kendra does not show any suggestions if a user types fewer than two characters or more than 60 characters. A query must also have at least one search result and contain at least one word of more than four characters.
queryText - The text of a user's query to generate query suggestions.
A query is suggested if the query prefix matches what a user starts to type as their query.
Amazon Kendra does not show any suggestions if a user types fewer than two characters or more than 60 characters. A query must also have at least one search result and contain at least one word of more than four characters.
GetQuerySuggestionsRequest.Builder maxSuggestionsCount(Integer maxSuggestionsCount)
The maximum number of query suggestions you want to show to your users.
maxSuggestionsCount - The maximum number of query suggestions you want to show to your users.GetQuerySuggestionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetQuerySuggestionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.