public DescribeScheduledInstancesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of results to return in a single call. This value can be between 5 and 300. The default value
is 100. To retrieve the remaining results, make another call with the returned <code>NextToken</code> value.
</p>

@param maxResults
       The maximum number of results to return in a single call. This value can be between 5 and 300. The default
       value is 100. To retrieve the remaining results, make another call with the returned
       <code>NextToken</code> value.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeScheduledInstancesRequest.java