Interface AttributeSuggestionsDescribeConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttributeSuggestionsDescribeConfig.Builder,AttributeSuggestionsDescribeConfig>,SdkBuilder<AttributeSuggestionsDescribeConfig.Builder,AttributeSuggestionsDescribeConfig>,SdkPojo
- Enclosing class:
- AttributeSuggestionsDescribeConfig
public static interface AttributeSuggestionsDescribeConfig.Builder extends SdkPojo, CopyableBuilder<AttributeSuggestionsDescribeConfig.Builder,AttributeSuggestionsDescribeConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeSuggestionsDescribeConfig.BuilderattributeSuggestionsMode(String attributeSuggestionsMode)The mode is set to eitherACTIVEorINACTIVE.AttributeSuggestionsDescribeConfig.BuilderattributeSuggestionsMode(AttributeSuggestionsMode attributeSuggestionsMode)The mode is set to eitherACTIVEorINACTIVE.AttributeSuggestionsDescribeConfig.BuildersuggestableConfigList(Collection<SuggestableConfig> suggestableConfigList)The list of fields/attributes that you want to set as suggestible for query suggestions.AttributeSuggestionsDescribeConfig.BuildersuggestableConfigList(Consumer<SuggestableConfig.Builder>... suggestableConfigList)The list of fields/attributes that you want to set as suggestible for query suggestions.AttributeSuggestionsDescribeConfig.BuildersuggestableConfigList(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 Detail
-
suggestableConfigList
AttributeSuggestionsDescribeConfig.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
AttributeSuggestionsDescribeConfig.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
AttributeSuggestionsDescribeConfig.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.Builderavoiding the need to create one manually viaSuggestableConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#suggestableConfigList(List.) - 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:
#suggestableConfigList(java.util.Collection)
-
attributeSuggestionsMode
AttributeSuggestionsDescribeConfig.Builder attributeSuggestionsMode(String attributeSuggestionsMode)
The mode is set to either
ACTIVEorINACTIVE. If theModefor query history is set toENABLEDwhen calling UpdateQuerySuggestionsConfig andAttributeSuggestionsModeto use fields/attributes is set toACTIVE, and you haven't set yourSuggestionTypespreference toDOCUMENT_ATTRIBUTES, then Amazon Kendra uses the query history.- Parameters:
attributeSuggestionsMode- The mode is set to eitherACTIVEorINACTIVE. If theModefor query history is set toENABLEDwhen calling UpdateQuerySuggestionsConfig andAttributeSuggestionsModeto use fields/attributes is set toACTIVE, and you haven't set yourSuggestionTypespreference 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,AttributeSuggestionsMode
-
attributeSuggestionsMode
AttributeSuggestionsDescribeConfig.Builder attributeSuggestionsMode(AttributeSuggestionsMode attributeSuggestionsMode)
The mode is set to either
ACTIVEorINACTIVE. If theModefor query history is set toENABLEDwhen calling UpdateQuerySuggestionsConfig andAttributeSuggestionsModeto use fields/attributes is set toACTIVE, and you haven't set yourSuggestionTypespreference toDOCUMENT_ATTRIBUTES, then Amazon Kendra uses the query history.- Parameters:
attributeSuggestionsMode- The mode is set to eitherACTIVEorINACTIVE. If theModefor query history is set toENABLEDwhen calling UpdateQuerySuggestionsConfig andAttributeSuggestionsModeto use fields/attributes is set toACTIVE, and you haven't set yourSuggestionTypespreference 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,AttributeSuggestionsMode
-
-