public GetAutoScalingGroupRecommendationsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of Auto Scaling group recommendations to return with a single request.
</p>
<p>
To retrieve the remaining results, make another request with the returned <code>nextToken</code> value.
</p>

@param maxResults
       The maximum number of Auto Scaling group recommendations to return with a single request.</p>
       <p>
       To retrieve the remaining results, make another request with the returned <code>nextToken</code> value.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/GetAutoScalingGroupRecommendationsRequest.java