public ListResourceRequestsRequest 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>
<p>
The default is <code>20</code>.
</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.</p>
       <p>
       The default is <code>20</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudcontrolapi/src/main/java/com/amazonaws/services/cloudcontrolapi/model/ListResourceRequestsRequest.java