@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuggestRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the Suggest
request.
NOOP
Constructor and Description |
---|
SuggestRequest() |
Modifier and Type | Method and Description |
---|---|
SuggestRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getQuery()
Specifies the string for which you want to get suggestions.
|
Long |
getSize()
Specifies the maximum number of suggestions to return.
|
String |
getSuggester()
Specifies the name of the suggester to use to find suggested matches.
|
int |
hashCode() |
void |
setQuery(String query)
Specifies the string for which you want to get suggestions.
|
void |
setSize(Long size)
Specifies the maximum number of suggestions to return.
|
void |
setSuggester(String suggester)
Specifies the name of the suggester to use to find suggested matches.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SuggestRequest |
withQuery(String query)
Specifies the string for which you want to get suggestions.
|
SuggestRequest |
withSize(Long size)
Specifies the maximum number of suggestions to return.
|
SuggestRequest |
withSuggester(String suggester)
Specifies the name of the suggester to use to find suggested matches.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setQuery(String query)
Specifies the string for which you want to get suggestions.
query
- Specifies the string for which you want to get suggestions.public String getQuery()
Specifies the string for which you want to get suggestions.
public SuggestRequest withQuery(String query)
Specifies the string for which you want to get suggestions.
query
- Specifies the string for which you want to get suggestions.public void setSuggester(String suggester)
Specifies the name of the suggester to use to find suggested matches.
suggester
- Specifies the name of the suggester to use to find suggested matches.public String getSuggester()
Specifies the name of the suggester to use to find suggested matches.
public SuggestRequest withSuggester(String suggester)
Specifies the name of the suggester to use to find suggested matches.
suggester
- Specifies the name of the suggester to use to find suggested matches.public void setSize(Long size)
Specifies the maximum number of suggestions to return.
size
- Specifies the maximum number of suggestions to return.public Long getSize()
Specifies the maximum number of suggestions to return.
public SuggestRequest withSize(Long size)
Specifies the maximum number of suggestions to return.
size
- Specifies the maximum number of suggestions to return.public String toString()
toString
in class Object
Object.toString()
public SuggestRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.