public void setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
    }
<p>
An optional parameter that specifies the maximum number of results to return. You can use <code>nextToken</code>
to display the next page of results.
</p>

@param maxResults
       An optional parameter that specifies the maximum number of results to return. You can use
       <code>nextToken</code> to display the next page of results.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/ListWorkgroupsRequest.java