Class SpellCorrectionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.SpellCorrectionConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SpellCorrectionConfiguration.Builder,SpellCorrectionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SpellCorrectionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SpellCorrectionConfiguration.Builder,SpellCorrectionConfiguration>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSpellCorrectionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpellCorrectionConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludeQuerySpellCheckSuggestions()TRUEto suggest spell corrections for queries.List<SdkField<?>>sdkFields()static Class<? extends SpellCorrectionConfiguration.Builder>serializableBuilderClass()SpellCorrectionConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
includeQuerySpellCheckSuggestions
public final Boolean includeQuerySpellCheckSuggestions()
TRUEto suggest spell corrections for queries.- Returns:
TRUEto suggest spell corrections for queries.
-
toBuilder
public SpellCorrectionConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SpellCorrectionConfiguration.Builder,SpellCorrectionConfiguration>
-
builder
public static SpellCorrectionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SpellCorrectionConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-