public DescribeImagesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of repository results returned by <code>DescribeImages</code> in paginated output. When this
parameter is used, <code>DescribeImages</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>DescribeImages</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>DescribeImages</code> returns up to 100
results and a <code>nextToken</code> value, if applicable. This option cannot be used when you specify images
with <code>imageIds</code>.
</p>

@param maxResults
       The maximum number of repository results returned by <code>DescribeImages</code> in paginated output. When
       this parameter is used, <code>DescribeImages</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>DescribeImages</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>DescribeImages</code> returns up to 100 results and a <code>nextToken</code> value, if applicable.
       This option cannot be used when you specify images with <code>imageIds</code>.
@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/DescribeImagesRequest.java