Interface AttributeSuggestionsUpdateConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttributeSuggestionsUpdateConfig.Builder,
,AttributeSuggestionsUpdateConfig> SdkBuilder<AttributeSuggestionsUpdateConfig.Builder,
,AttributeSuggestionsUpdateConfig> SdkPojo
- Enclosing class:
AttributeSuggestionsUpdateConfig
-
Method Summary
Modifier and TypeMethodDescriptionattributeSuggestionsMode
(String attributeSuggestionsMode) You can set the mode toACTIVE
orINACTIVE
.attributeSuggestionsMode
(AttributeSuggestionsMode attributeSuggestionsMode) You can set the mode toACTIVE
orINACTIVE
.suggestableConfigList
(Collection<SuggestableConfig> suggestableConfigList) The list of fields/attributes that you want to set as suggestible for query suggestions.suggestableConfigList
(Consumer<SuggestableConfig.Builder>... suggestableConfigList) The list of fields/attributes that you want to set as suggestible for query suggestions.suggestableConfigList
(SuggestableConfig... suggestableConfigList) The list of fields/attributes that you want to set as suggestible for query suggestions.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, sdkFields
-
Method Details
-
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.
-
suggestableConfigList
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 viaSuggestableConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuggestableConfigList(List<SuggestableConfig>)
.- Parameters:
suggestableConfigList
- a consumer that will call methods onSuggestableConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeSuggestionsMode
You can set the mode to
ACTIVE
orINACTIVE
. You must also setSuggestionTypes
as eitherQUERY
orDOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions. IfMode
to use query history is set toENABLED
when calling UpdateQuerySuggestionsConfig andAttributeSuggestionsMode
to use fields/attributes is set toACTIVE
, and you haven't set yourSuggestionTypes
preference toDOCUMENT_ATTRIBUTES
, then Amazon Kendra uses the query history.- Parameters:
attributeSuggestionsMode
- You can set the mode toACTIVE
orINACTIVE
. You must also setSuggestionTypes
as eitherQUERY
orDOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions . IfMode
to use query history is set toENABLED
when calling UpdateQuerySuggestionsConfig andAttributeSuggestionsMode
to use fields/attributes is set toACTIVE
, and you haven't set yourSuggestionTypes
preference toDOCUMENT_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
AttributeSuggestionsUpdateConfig.Builder attributeSuggestionsMode(AttributeSuggestionsMode attributeSuggestionsMode) You can set the mode to
ACTIVE
orINACTIVE
. You must also setSuggestionTypes
as eitherQUERY
orDOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions. IfMode
to use query history is set toENABLED
when calling UpdateQuerySuggestionsConfig andAttributeSuggestionsMode
to use fields/attributes is set toACTIVE
, and you haven't set yourSuggestionTypes
preference toDOCUMENT_ATTRIBUTES
, then Amazon Kendra uses the query history.- Parameters:
attributeSuggestionsMode
- You can set the mode toACTIVE
orINACTIVE
. You must also setSuggestionTypes
as eitherQUERY
orDOCUMENT_ATTRIBUTES
and then call GetQuerySuggestions . IfMode
to use query history is set toENABLED
when calling UpdateQuerySuggestionsConfig andAttributeSuggestionsMode
to use fields/attributes is set toACTIVE
, and you haven't set yourSuggestionTypes
preference toDOCUMENT_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:
-