Class Suggester
- java.lang.Object
-
- software.amazon.awssdk.services.cloudsearch.model.Suggester
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Suggester.Builder,Suggester>
@Generated("software.amazon.awssdk:codegen") public final class Suggester extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Suggester.Builder,Suggester>
Configuration information for a search suggester. Each suggester has a unique name and specifies the text field you want to use for suggestions. The following options can be configured for a suggester:
FuzzyMatching,SortExpression.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSuggester.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Suggester.Builderbuilder()DocumentSuggesterOptionsdocumentSuggesterOptions()Returns the value of the DocumentSuggesterOptions property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Suggester.Builder>serializableBuilderClass()StringsuggesterName()Returns the value of the SuggesterName property for this object.Suggester.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
-
suggesterName
public final String suggesterName()
Returns the value of the SuggesterName property for this object.- Returns:
- The value of the SuggesterName property for this object.
-
documentSuggesterOptions
public final DocumentSuggesterOptions documentSuggesterOptions()
Returns the value of the DocumentSuggesterOptions property for this object.- Returns:
- The value of the DocumentSuggesterOptions property for this object.
-
toBuilder
public Suggester.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Suggester.Builder,Suggester>
-
builder
public static Suggester.Builder builder()
-
serializableBuilderClass
public static Class<? extends Suggester.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.
-
-