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:
  • Constructor Details

    • Suggester

      public Suggester()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Suggester clone()
      Overrides:
      clone in class Object