* If there are additional results, this is the token for the next set of results. *
*/ private String nextToken; /** ** The results of the query. *
*/ private java.util.List* If there are additional results, this is the token for the next set of results. *
* * @param nextToken * If there are additional results, this is the token for the next set of results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** If there are additional results, this is the token for the next set of results. *
* * @return If there are additional results, this is the token for the next set of results. */ public String getNextToken() { return this.nextToken; } /** ** If there are additional results, this is the token for the next set of results. *
* * @param nextToken * If there are additional results, this is the token for the next set of results. * @return Returns a reference to this object so that method calls can be chained together. */ public QueryAssistantResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** The results of the query. *
* * @return The results of the query. */ public java.util.List* The results of the query. *
* * @param results * The results of the query. */ public void setResults(java.util.Collection* The results of the query. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setResults(java.util.Collection)} or {@link #withResults(java.util.Collection)} if you want to override * the existing values. *
* * @param results * The results of the query. * @return Returns a reference to this object so that method calls can be chained together. */ public QueryAssistantResult withResults(ResultData... results) { if (this.results == null) { setResults(new java.util.ArrayList* The results of the query. *
* * @param results * The results of the query. * @return Returns a reference to this object so that method calls can be chained together. */ public QueryAssistantResult withResults(java.util.Collection