public ListServicesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of results to include in each response (result page). It's used for a paginated request.
</p>
<p>
If you don't specify <code>MaxResults</code>, the request retrieves all available results in a single response.
</p>

@param maxResults
       The maximum number of results to include in each response (result page). It's used for a paginated
       request.</p>
       <p>
       If you don't specify <code>MaxResults</code>, the request retrieves all available results in a single
       response.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apprunner/src/main/java/com/amazonaws/services/apprunner/model/ListServicesRequest.java