public ListFindingsMetricsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the <code>nextToken</code> element is returned in the
response. Use <code>nextToken</code> in a subsequent request to retrieve additional results. If not specified,
returns 1000 results.
</p>

@param maxResults
       The maximum number of results to return in the response. Use this parameter when paginating results. If
       additional results exist beyond the number you specify, the <code>nextToken</code> element is returned in
       the response. Use <code>nextToken</code> in a subsequent request to retrieve additional results. If not
       specified, returns 1000 results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/ListFindingsMetricsRequest.java