public ListResourceScanResourcesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
If the number of available results exceeds this maximum, the response includes a <code>NextToken</code> value
that you can use for the <code>NextToken</code> parameter to get the next set of results. By default the
<code>ListResourceScanResources</code> API action will return at most 100 results in each response. The maximum
value is 100.
</p>

@param maxResults
       If the number of available results exceeds this maximum, the response includes a <code>NextToken</code>
       value that you can use for the <code>NextToken</code> parameter to get the next set of results. By default
       the <code>ListResourceScanResources</code> API action will return at most 100 results in each response.
       The maximum value is 100.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ListResourceScanResourcesRequest.java