public ListAppComponentRecommendationsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
Maximum number of results to include in the response. If more results exist than the specified
<code>MaxResults</code> value, a token is included in the response so that the remaining results can be
retrieved.
</p>

@param maxResults
       Maximum number of results to include in the response. If more results exist than the specified
       <code>MaxResults</code> value, a token is included in the response so that the remaining results can be
       retrieved.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/ListAppComponentRecommendationsRequest.java