public ListAvailableResourceMetricsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of items to return. If the <code>MaxRecords</code> value is less than the number of existing
items, the response includes a pagination token.
</p>

@param maxResults
       The maximum number of items to return. If the <code>MaxRecords</code> value is less than the number of
       existing items, the response includes a pagination token.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/ListAvailableResourceMetricsRequest.java