Interface AttributeSuggestionsUpdateConfig.Builder

    • Method Detail

      • suggestableConfigList

        AttributeSuggestionsUpdateConfig.Builder suggestableConfigList​(Collection<SuggestableConfig> suggestableConfigList)

        The list of fields/attributes that you want to set as suggestible for query suggestions.

        Parameters:
        suggestableConfigList - The list of fields/attributes that you want to set as suggestible for query suggestions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • suggestableConfigList

        AttributeSuggestionsUpdateConfig.Builder suggestableConfigList​(SuggestableConfig... suggestableConfigList)

        The list of fields/attributes that you want to set as suggestible for query suggestions.

        Parameters:
        suggestableConfigList - The list of fields/attributes that you want to set as suggestible for query suggestions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributeSuggestionsMode

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttributeSuggestionsMode, AttributeSuggestionsMode
      • attributeSuggestionsMode

        AttributeSuggestionsUpdateConfig.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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttributeSuggestionsMode, AttributeSuggestionsMode