Class SuggestResult

java.lang.Object
com.amazonaws.services.cloudsearchdomain.model.SuggestResult
All Implemented Interfaces:
Serializable, Cloneable

public class SuggestResult extends Object implements Serializable, Cloneable

Contains the response to a Suggest request.

See Also:
  • Constructor Details

    • SuggestResult

      public SuggestResult()
  • Method Details

    • setStatus

      public void setStatus(SuggestStatus status)

      The status of a SuggestRequest. Contains the resource ID ( rid) and how long it took to process the request ( timems).

      Parameters:
      status - The status of a SuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).
    • getStatus

      public SuggestStatus getStatus()

      The status of a SuggestRequest. Contains the resource ID ( rid) and how long it took to process the request ( timems).

      Returns:
      The status of a SuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).
    • withStatus

      public SuggestResult withStatus(SuggestStatus status)

      The status of a SuggestRequest. Contains the resource ID ( rid) and how long it took to process the request ( timems).

      Parameters:
      status - The status of a SuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSuggest

      public void setSuggest(SuggestModel suggest)

      Container for the matching search suggestion information.

      Parameters:
      suggest - Container for the matching search suggestion information.
    • getSuggest

      public SuggestModel getSuggest()

      Container for the matching search suggestion information.

      Returns:
      Container for the matching search suggestion information.
    • withSuggest

      public SuggestResult withSuggest(SuggestModel suggest)

      Container for the matching search suggestion information.

      Parameters:
      suggest - Container for the matching search suggestion information.
      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 SuggestResult clone()
      Overrides:
      clone in class Object