* If there are additional results, this is the token for the next set of results. *
*/ private String nextToken; /** ** Summary information about the sessions. *
*/ 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 SearchSessionsResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** Summary information about the sessions. *
* * @return Summary information about the sessions. */ public java.util.List* Summary information about the sessions. *
* * @param sessionSummaries * Summary information about the sessions. */ public void setSessionSummaries(java.util.Collection* Summary information about the sessions. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSessionSummaries(java.util.Collection)} or {@link #withSessionSummaries(java.util.Collection)} if you * want to override the existing values. *
* * @param sessionSummaries * Summary information about the sessions. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchSessionsResult withSessionSummaries(SessionSummary... sessionSummaries) { if (this.sessionSummaries == null) { setSessionSummaries(new java.util.ArrayList* Summary information about the sessions. *
* * @param sessionSummaries * Summary information about the sessions. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchSessionsResult withSessionSummaries(java.util.Collection