public ListAppsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
This parameter defines the maximum number of results that can be return in a single response. The
<code>MaxResults</code> parameter is an upper bound, not a target. If there are more results available than the
value specified, a <code>NextToken</code> is provided in the response. The <code>NextToken</code> indicates that
the user should get the next set of results by providing this token as a part of a subsequent call. The default
value for <code>MaxResults</code> is 10.
</p>

@param maxResults
       This parameter defines the maximum number of results that can be return in a single response. The
       <code>MaxResults</code> parameter is an upper bound, not a target. If there are more results available
       than the value specified, a <code>NextToken</code> is provided in the response. The <code>NextToken</code>
       indicates that the user should get the next set of results by providing this token as a part of a
       subsequent call. The default value for <code>MaxResults</code> is 10.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListAppsRequest.java