@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpellCorrectionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for suggested query spell corrections.
Suggested spell corrections are based on words that appear in your indexed documents and how closely a corrected word matches a misspelled word.
This feature is designed with certain defaults or limits. For information on the current limits and how to request more support for some limits, see the Spell Checker documentation.
| Constructor and Description |
|---|
SpellCorrectionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
SpellCorrectionConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIncludeQuerySpellCheckSuggestions()
TRUE to suggest spell corrections for queries. |
int |
hashCode() |
Boolean |
isIncludeQuerySpellCheckSuggestions()
TRUE to suggest spell corrections for queries. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIncludeQuerySpellCheckSuggestions(Boolean includeQuerySpellCheckSuggestions)
TRUE to suggest spell corrections for queries. |
String |
toString()
Returns a string representation of this object.
|
SpellCorrectionConfiguration |
withIncludeQuerySpellCheckSuggestions(Boolean includeQuerySpellCheckSuggestions)
TRUE to suggest spell corrections for queries. |
public void setIncludeQuerySpellCheckSuggestions(Boolean includeQuerySpellCheckSuggestions)
TRUE to suggest spell corrections for queries.
includeQuerySpellCheckSuggestions - TRUE to suggest spell corrections for queries.public Boolean getIncludeQuerySpellCheckSuggestions()
TRUE to suggest spell corrections for queries.
TRUE to suggest spell corrections for queries.public SpellCorrectionConfiguration withIncludeQuerySpellCheckSuggestions(Boolean includeQuerySpellCheckSuggestions)
TRUE to suggest spell corrections for queries.
includeQuerySpellCheckSuggestions - TRUE to suggest spell corrections for queries.public Boolean isIncludeQuerySpellCheckSuggestions()
TRUE to suggest spell corrections for queries.
TRUE to suggest spell corrections for queries.public String toString()
toString in class ObjectObject.toString()public SpellCorrectionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.