@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetQuerySuggestionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetQuerySuggestionsResult() |
Modifier and Type | Method and Description |
---|---|
GetQuerySuggestionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getQuerySuggestionsId()
The identifier for a list of query suggestions for an index.
|
List<Suggestion> |
getSuggestions()
A list of query suggestions for an index.
|
int |
hashCode() |
void |
setQuerySuggestionsId(String querySuggestionsId)
The identifier for a list of query suggestions for an index.
|
void |
setSuggestions(Collection<Suggestion> suggestions)
A list of query suggestions for an index.
|
String |
toString()
Returns a string representation of this object.
|
GetQuerySuggestionsResult |
withQuerySuggestionsId(String querySuggestionsId)
The identifier for a list of query suggestions for an index.
|
GetQuerySuggestionsResult |
withSuggestions(Collection<Suggestion> suggestions)
A list of query suggestions for an index.
|
GetQuerySuggestionsResult |
withSuggestions(Suggestion... suggestions)
A list of query suggestions for an index.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setQuerySuggestionsId(String querySuggestionsId)
The identifier for a list of query suggestions for an index.
querySuggestionsId
- The identifier for a list of query suggestions for an index.public String getQuerySuggestionsId()
The identifier for a list of query suggestions for an index.
public GetQuerySuggestionsResult withQuerySuggestionsId(String querySuggestionsId)
The identifier for a list of query suggestions for an index.
querySuggestionsId
- The identifier for a list of query suggestions for an index.public List<Suggestion> getSuggestions()
A list of query suggestions for an index.
public void setSuggestions(Collection<Suggestion> suggestions)
A list of query suggestions for an index.
suggestions
- A list of query suggestions for an index.public GetQuerySuggestionsResult withSuggestions(Suggestion... suggestions)
A list of query suggestions for an index.
NOTE: This method appends the values to the existing list (if any). Use
setSuggestions(java.util.Collection)
or withSuggestions(java.util.Collection)
if you want to
override the existing values.
suggestions
- A list of query suggestions for an index.public GetQuerySuggestionsResult withSuggestions(Collection<Suggestion> suggestions)
A list of query suggestions for an index.
suggestions
- A list of query suggestions for an index.public String toString()
toString
in class Object
Object.toString()
public GetQuerySuggestionsResult clone()