public BatchGetAssetPropertyAggregatesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of results to return for each paginated request. A result set is returned in the two cases,
whichever occurs first.
</p>
<ul>
<li>
<p>
The size of the result set is equal to 1 MB.
</p>
</li>
<li>
<p>
The number of data points in the result set is equal to the value of <code>maxResults</code>. The maximum value
of <code>maxResults</code> is 4000.
</p>
</li>
</ul>

@param maxResults
       The maximum number of results to return for each paginated request. A result set is returned in the two
       cases, whichever occurs first.</p>
       <ul>
       <li>
       <p>
       The size of the result set is equal to 1 MB.
       </p>
       </li>
       <li>
       <p>
       The number of data points in the result set is equal to the value of <code>maxResults</code>. The maximum
       value of <code>maxResults</code> is 4000.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/BatchGetAssetPropertyAggregatesRequest.java