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 Suggester
clone()
boolean
equals(Object obj)
DocumentSuggesterOptions
getDocumentSuggesterOptions()
String
getSuggesterName()
int
hashCode()
void
setDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)
void
setSuggesterName(String suggesterName)
String
toString()
Returns a string representation of this object; useful for testing and debugging.Suggester
withDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)
Suggester
withSuggesterName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-