@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttributeSuggestionsDescribeConfig extends Object implements Serializable, Cloneable, StructuredPojo
Gets information on the configuration of document fields/attributes that you want to base query suggestions on. To change your configuration, use AttributeSuggestionsUpdateConfig and then call UpdateQuerySuggestionsConfig.
| Constructor and Description |
|---|
AttributeSuggestionsDescribeConfig() |
| Modifier and Type | Method and Description |
|---|---|
AttributeSuggestionsDescribeConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeSuggestionsMode()
The mode is set to either
ACTIVE or INACTIVE. |
List<SuggestableConfig> |
getSuggestableConfigList()
The list of fields/attributes that you want to set as suggestible for query suggestions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttributeSuggestionsMode(String attributeSuggestionsMode)
The mode is set to either
ACTIVE or INACTIVE. |
void |
setSuggestableConfigList(Collection<SuggestableConfig> suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
|
String |
toString()
Returns a string representation of this object.
|
AttributeSuggestionsDescribeConfig |
withAttributeSuggestionsMode(AttributeSuggestionsMode attributeSuggestionsMode)
The mode is set to either
ACTIVE or INACTIVE. |
AttributeSuggestionsDescribeConfig |
withAttributeSuggestionsMode(String attributeSuggestionsMode)
The mode is set to either
ACTIVE or INACTIVE. |
AttributeSuggestionsDescribeConfig |
withSuggestableConfigList(Collection<SuggestableConfig> suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
|
AttributeSuggestionsDescribeConfig |
withSuggestableConfigList(SuggestableConfig... suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
|
public List<SuggestableConfig> getSuggestableConfigList()
The list of fields/attributes that you want to set as suggestible for query suggestions.
public void setSuggestableConfigList(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.public AttributeSuggestionsDescribeConfig withSuggestableConfigList(SuggestableConfig... suggestableConfigList)
The list of fields/attributes that you want to set as suggestible for query suggestions.
NOTE: This method appends the values to the existing list (if any). Use
setSuggestableConfigList(java.util.Collection) or
withSuggestableConfigList(java.util.Collection) if you want to override the existing values.
suggestableConfigList - The list of fields/attributes that you want to set as suggestible for query suggestions.public AttributeSuggestionsDescribeConfig withSuggestableConfigList(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.public void setAttributeSuggestionsMode(String attributeSuggestionsMode)
The mode is set to either ACTIVE or INACTIVE. If the Mode for 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 - The mode is set to either ACTIVE or INACTIVE. If the Mode for 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.AttributeSuggestionsModepublic String getAttributeSuggestionsMode()
The mode is set to either ACTIVE or INACTIVE. If the Mode for 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.
ACTIVE or INACTIVE. If the Mode for
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.AttributeSuggestionsModepublic AttributeSuggestionsDescribeConfig withAttributeSuggestionsMode(String attributeSuggestionsMode)
The mode is set to either ACTIVE or INACTIVE. If the Mode for 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 - The mode is set to either ACTIVE or INACTIVE. If the Mode for 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.AttributeSuggestionsModepublic AttributeSuggestionsDescribeConfig withAttributeSuggestionsMode(AttributeSuggestionsMode attributeSuggestionsMode)
The mode is set to either ACTIVE or INACTIVE. If the Mode for 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 - The mode is set to either ACTIVE or INACTIVE. If the Mode for 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.AttributeSuggestionsModepublic String toString()
toString in class ObjectObject.toString()public AttributeSuggestionsDescribeConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.