/** * <p> * If the previous paginated request didn't return all of the remaining results, the response object's * <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call * <code>ListStackSets</code> again and assign that token to the request object's <code>NextToken</code> parameter. * If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to * <code>null</code>. * </p> * * @param nextToken * If the previous paginated request didn't return all of the remaining results, the response object's * <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call * <code>ListStackSets</code> again and assign that token to the request object's <code>NextToken</code> * parameter. If there are no remaining results, the previous response object's <code>NextToken</code> * parameter is set to <code>null</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public ListStackSetsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; }
/** * <p> * If the previous paginated request didn't return all of the remaining results, the response object's * <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call * <code>ListStackSets</code> again and assign that token to the request object's <code>NextToken</code> parameter. * If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to * <code>null</code>. * </p> * * @param nextToken * If the previous paginated request didn't return all of the remaining results, the response object's * <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call * <code>ListStackSets</code> again and assign that token to the request object's <code>NextToken</code> * parameter. If there are no remaining results, the previous response object's <code>NextToken</code> * parameter is set to <code>null</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public ListStackSetsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; }