Class Suggester
- java.lang.Object
-
- com.amazonaws.services.cloudsearchv2.model.Suggester
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Suggester extends Object implements Serializable, Cloneable
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
-
-
Constructor Summary
Constructors Constructor Description Suggester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Suggesterclone()booleanequals(Object obj)DocumentSuggesterOptionsgetDocumentSuggesterOptions()StringgetSuggesterName()inthashCode()voidsetDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)voidsetSuggesterName(String suggesterName)StringtoString()Returns a string representation of this object; useful for testing and debugging.SuggesterwithDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)SuggesterwithSuggesterName(String suggesterName)
-
-
-
Method Detail
-
setSuggesterName
public void setSuggesterName(String suggesterName)
- Parameters:
suggesterName-
-
getSuggesterName
public String getSuggesterName()
- Returns:
-
withSuggesterName
public Suggester withSuggesterName(String suggesterName)
- Parameters:
suggesterName-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDocumentSuggesterOptions
public void setDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)
- Parameters:
documentSuggesterOptions-
-
getDocumentSuggesterOptions
public DocumentSuggesterOptions getDocumentSuggesterOptions()
- Returns:
-
withDocumentSuggesterOptions
public Suggester withDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)
- Parameters:
documentSuggesterOptions-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-