public ListAssessmentRunAgentsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
You can use this parameter to indicate the maximum number of items that you want in the response. The default
value is 10. The maximum value is 500.
</p>

@param maxResults
       You can use this parameter to indicate the maximum number of items that you want in the response. The
       default value is 10. The maximum value is 500.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/ListAssessmentRunAgentsRequest.java