public ListImagesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of image results returned by <code>ListImages</code> in paginated output. When this parameter
is used, <code>ListImages</code> only returns <code>maxResults</code> results in a single page along with a
<code>nextToken</code> response element. The remaining results of the initial request can be seen by sending
another <code>ListImages</code> request with the returned <code>nextToken</code> value. This value can be between
1 and 1000. If this parameter is not used, then <code>ListImages</code> returns up to 100 results and a
<code>nextToken</code> value, if applicable.
</p>

@param maxResults
       The maximum number of image results returned by <code>ListImages</code> in paginated output. When this
       parameter is used, <code>ListImages</code> only returns <code>maxResults</code> results in a single page
       along with a <code>nextToken</code> response element. The remaining results of the initial request can be
       seen by sending another <code>ListImages</code> request with the returned <code>nextToken</code> value.
       This value can be between 1 and 1000. If this parameter is not used, then <code>ListImages</code> returns
       up to 100 results and a <code>nextToken</code> value, if applicable.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/ListImagesRequest.java