@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuggestResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
SuggestResult |
withStatus(SuggestStatus status)
The status of a
SuggestRequest . |
SuggestResult |
withSuggest(SuggestModel suggest)
Container for the matching search suggestion information.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 Object
Object.toString()
public SuggestResult clone()