/** * <p> * The maximum number of results to be returned with a single call. If the number of available results exceeds this * maximum, the response includes a <code>NextToken</code> value that you can assign to the <code>NextToken</code> * request parameter to get the next set of results. * </p> * * @param maxResults * The maximum number of results to be returned with a single call. If the number of available results * exceeds this maximum, the response includes a <code>NextToken</code> value that you can assign to the * <code>NextToken</code> request parameter to get the next set of results. * @return Returns a reference to this object so that method calls can be chained together. */ public ListStackSetsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; }
/** * <p> * The maximum number of results to be returned with a single call. If the number of available results exceeds this * maximum, the response includes a <code>NextToken</code> value that you can assign to the <code>NextToken</code> * request parameter to get the next set of results. * </p> * * @param maxResults * The maximum number of results to be returned with a single call. If the number of available results * exceeds this maximum, the response includes a <code>NextToken</code> value that you can assign to the * <code>NextToken</code> request parameter to get the next set of results. * @return Returns a reference to this object so that method calls can be chained together. */ public ListStackSetsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; }