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
Suggestrequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SuggestResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuggestResultclone()booleanequals(Object obj)SuggestStatusgetStatus()The status of aSuggestRequest.SuggestModelgetSuggest()Container for the matching search suggestion information.inthashCode()voidsetStatus(SuggestStatus status)The status of aSuggestRequest.voidsetSuggest(SuggestModel suggest)Container for the matching search suggestion information.StringtoString()Returns a string representation of this object; useful for testing and debugging.SuggestResultwithStatus(SuggestStatus status)The status of aSuggestRequest.SuggestResultwithSuggest(SuggestModel suggest)Container for the matching search suggestion information.
-
-
-
Method Detail
-
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 aSuggestRequest. 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 aSuggestRequest. 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SuggestResult clone()
-
-