Class SuggestRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudsearchdomain.model.SuggestRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Container for the parameters to the Suggest
request.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getQuery()
Specifies the string for which you want to get suggestions.getSize()
Specifies the maximum number of suggestions to return.Specifies the name of the suggester to use to find suggested matches.int
hashCode()
void
Specifies the string for which you want to get suggestions.void
Specifies the maximum number of suggestions to return.void
setSuggester
(String suggester) Specifies the name of the suggester to use to find suggested matches.toString()
Returns a string representation of this object; useful for testing and debugging.Specifies the string for which you want to get suggestions.Specifies the maximum number of suggestions to return.withSuggester
(String suggester) Specifies the name of the suggester to use to find suggested matches.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SuggestRequest
public SuggestRequest()
-
-
Method Details
-
setQuery
Specifies the string for which you want to get suggestions.
- Parameters:
query
- Specifies the string for which you want to get suggestions.
-
getQuery
Specifies the string for which you want to get suggestions.
- Returns:
- Specifies the string for which you want to get suggestions.
-
withQuery
Specifies the string for which you want to get suggestions.
- Parameters:
query
- Specifies the string for which you want to get suggestions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSuggester
Specifies the name of the suggester to use to find suggested matches.
- Parameters:
suggester
- Specifies the name of the suggester to use to find suggested matches.
-
getSuggester
Specifies the name of the suggester to use to find suggested matches.
- Returns:
- Specifies the name of the suggester to use to find suggested matches.
-
withSuggester
Specifies the name of the suggester to use to find suggested matches.
- Parameters:
suggester
- Specifies the name of the suggester to use to find suggested matches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSize
Specifies the maximum number of suggestions to return.
- Parameters:
size
- Specifies the maximum number of suggestions to return.
-
getSize
Specifies the maximum number of suggestions to return.
- Returns:
- Specifies the maximum number of suggestions to return.
-
withSize
Specifies the maximum number of suggestions to return.
- Parameters:
size
- Specifies the maximum number of suggestions to return.- 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
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-