* The identifier for a list of query suggestions for an index. *
*/ private String querySuggestionsId; /** ** A list of query suggestions for an index. *
*/ private java.util.List* The identifier for a list of query suggestions for an index. *
* * @param querySuggestionsId * The identifier for a list of query suggestions for an index. */ public void setQuerySuggestionsId(String querySuggestionsId) { this.querySuggestionsId = querySuggestionsId; } /** ** The identifier for a list of query suggestions for an index. *
* * @return The identifier for a list of query suggestions for an index. */ public String getQuerySuggestionsId() { return this.querySuggestionsId; } /** ** The identifier for a list of query suggestions for an index. *
* * @param querySuggestionsId * The identifier for a list of query suggestions for an index. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuerySuggestionsResult withQuerySuggestionsId(String querySuggestionsId) { setQuerySuggestionsId(querySuggestionsId); return this; } /** ** A list of query suggestions for an index. *
* * @return A list of query suggestions for an index. */ public java.util.List* A list of query suggestions for an index. *
* * @param suggestions * A list of query suggestions for an index. */ public void setSuggestions(java.util.Collection* A list of query suggestions for an index. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSuggestions(java.util.Collection)} or {@link #withSuggestions(java.util.Collection)} if you want to * override the existing values. *
* * @param suggestions * A list of query suggestions for an index. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuerySuggestionsResult withSuggestions(Suggestion... suggestions) { if (this.suggestions == null) { setSuggestions(new java.util.ArrayList* A list of query suggestions for an index. *
* * @param suggestions * A list of query suggestions for an index. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuerySuggestionsResult withSuggestions(java.util.Collection