public static interface AttributeSuggestionsUpdateConfig.Builder extends SdkPojo, CopyableBuilder<AttributeSuggestionsUpdateConfig.Builder,AttributeSuggestionsUpdateConfig>
| Modifier and Type | Method and Description |
|---|---|
AttributeSuggestionsUpdateConfig.Builder |
attributeSuggestionsMode(AttributeSuggestionsMode attributeSuggestionsMode)
You can set the mode to
ACTIVE or INACTIVE. |
AttributeSuggestionsUpdateConfig.Builder |
attributeSuggestionsMode(String attributeSuggestionsMode)
You can set the mode to
ACTIVE or INACTIVE. |
AttributeSuggestionsUpdateConfig.Builder |
suggestableConfigList(Collection<SuggestableConfig> suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
|
AttributeSuggestionsUpdateConfig.Builder |
suggestableConfigList(Consumer<SuggestableConfig.Builder>... suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
|
AttributeSuggestionsUpdateConfig.Builder |
suggestableConfigList(SuggestableConfig... suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAttributeSuggestionsUpdateConfig.Builder suggestableConfigList(Collection<SuggestableConfig> suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
suggestableConfigList - The list of fields/attributes that you want to set as suggestible for query suggestions.AttributeSuggestionsUpdateConfig.Builder suggestableConfigList(SuggestableConfig... suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
suggestableConfigList - The list of fields/attributes that you want to set as suggestible for query suggestions.AttributeSuggestionsUpdateConfig.Builder suggestableConfigList(Consumer<SuggestableConfig.Builder>... suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
This is a convenience method that creates an instance of theSuggestableConfig.Builder avoiding the need to create
one manually via SuggestableConfig.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #suggestableConfigList(List.
suggestableConfigList - a consumer that will call methods on
SuggestableConfig.Builder#suggestableConfigList(java.util.Collection) AttributeSuggestionsUpdateConfig.Builder attributeSuggestionsMode(String attributeSuggestionsMode)
You can set the mode to ACTIVE or INACTIVE. You must also set
SuggestionTypes as either QUERY or DOCUMENT_ATTRIBUTES and then call
GetQuerySuggestions.
If Mode to use query history is set to ENABLED when calling UpdateQuerySuggestionsConfig and AttributeSuggestionsMode to use fields/attributes is set
to ACTIVE, and you haven't set your SuggestionTypes preference to
DOCUMENT_ATTRIBUTES, then Amazon Kendra uses the query history.
attributeSuggestionsMode - You can set the mode to ACTIVE or INACTIVE. You must also set
SuggestionTypes as either QUERY or DOCUMENT_ATTRIBUTES and then
call GetQuerySuggestions
. If Mode to use query history is set to ENABLED when calling UpdateQuerySuggestionsConfig and AttributeSuggestionsMode to use fields/attributes
is set to ACTIVE, and you haven't set your SuggestionTypes preference to
DOCUMENT_ATTRIBUTES, then Amazon Kendra uses the query history.AttributeSuggestionsMode,
AttributeSuggestionsModeAttributeSuggestionsUpdateConfig.Builder attributeSuggestionsMode(AttributeSuggestionsMode attributeSuggestionsMode)
You can set the mode to ACTIVE or INACTIVE. You must also set
SuggestionTypes as either QUERY or DOCUMENT_ATTRIBUTES and then call
GetQuerySuggestions.
If Mode to use query history is set to ENABLED when calling UpdateQuerySuggestionsConfig and AttributeSuggestionsMode to use fields/attributes is set
to ACTIVE, and you haven't set your SuggestionTypes preference to
DOCUMENT_ATTRIBUTES, then Amazon Kendra uses the query history.
attributeSuggestionsMode - You can set the mode to ACTIVE or INACTIVE. You must also set
SuggestionTypes as either QUERY or DOCUMENT_ATTRIBUTES and then
call GetQuerySuggestions
. If Mode to use query history is set to ENABLED when calling UpdateQuerySuggestionsConfig and AttributeSuggestionsMode to use fields/attributes
is set to ACTIVE, and you haven't set your SuggestionTypes preference to
DOCUMENT_ATTRIBUTES, then Amazon Kendra uses the query history.AttributeSuggestionsMode,
AttributeSuggestionsModeCopyright © 2023. All rights reserved.