Class SuggestResult
java.lang.Object
com.amazonaws.services.cloudsearchdomain.model.SuggestResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a Suggest
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The status of aSuggestRequest
.Container for the matching search suggestion information.int
hashCode()
void
setStatus
(SuggestStatus status) The status of aSuggestRequest
.void
setSuggest
(SuggestModel suggest) Container for the matching search suggestion information.toString()
Returns a string representation of this object; useful for testing and debugging.withStatus
(SuggestStatus status) The status of aSuggestRequest
.withSuggest
(SuggestModel suggest) Container for the matching search suggestion information.
-
Constructor Details
-
SuggestResult
public SuggestResult()
-
-
Method Details
-
setStatus
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
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
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
Container for the matching search suggestion information.
- Parameters:
suggest
- Container for the matching search suggestion information.
-
getSuggest
Container for the matching search suggestion information.
- Returns:
- Container for the matching search suggestion information.
-
withSuggest
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-