public class SuggestResult extends Object implements Serializable, Cloneable
Contains the response to a Suggest request.
| Constructor and Description |
|---|
SuggestResult() |
| Modifier and Type | Method and Description |
|---|---|
SuggestResult |
clone() |
boolean |
equals(Object obj) |
SuggestStatus |
getStatus()
The status of a
SuggestRequest. |
SuggestModel |
getSuggest()
Container for the matching search suggestion information.
|
int |
hashCode() |
void |
setStatus(SuggestStatus status)
The status of a
SuggestRequest. |
void |
setSuggest(SuggestModel suggest)
Container for the matching search suggestion information.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SuggestResult |
withStatus(SuggestStatus status)
The status of a
SuggestRequest. |
SuggestResult |
withSuggest(SuggestModel suggest)
Container for the matching search suggestion information.
|
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).
status - The status of a SuggestRequest. Contains the resource
ID (rid) and how long it took to process the request
(timems).public SuggestStatus getStatus()
The status of a SuggestRequest. Contains the resource ID (
rid) and how long it took to process the request (
timems).
SuggestRequest. Contains the
resource ID (rid) and how long it took to process
the request (timems).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).
status - The status of a SuggestRequest. Contains the resource
ID (rid) and how long it took to process the request
(timems).public void setSuggest(SuggestModel suggest)
Container for the matching search suggestion information.
suggest - Container for the matching search suggestion information.public SuggestModel getSuggest()
Container for the matching search suggestion information.
public SuggestResult withSuggest(SuggestModel suggest)
Container for the matching search suggestion information.
suggest - Container for the matching search suggestion information.public String toString()
toString in class ObjectObject.toString()public SuggestResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.