public ListTimeSeriesDataPointsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of data points to return in a single call to ListTimeSeriesDataPoints. When the number of data
points to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can
use in a subsequent call to ListTimeSeriesDataPoints to list the next set of data points.
</p>

@param maxResults
       The maximum number of data points to return in a single call to ListTimeSeriesDataPoints. When the number
       of data points to be listed is greater than the value of MaxResults, the response contains a NextToken
       value that you can use in a subsequent call to ListTimeSeriesDataPoints to list the next set of data
       points.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/ListTimeSeriesDataPointsRequest.java