public DescribeVpcEndpointsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of items to return for this request. The request returns a token that you can specify in a
subsequent call to get the next set of results.
</p>
<p>
Constraint: If the value is greater than 1,000, we return only 1,000 items.
</p>

@param maxResults
       The maximum number of items to return for this request. The request returns a token that you can specify
       in a subsequent call to get the next set of results.</p>
       <p>
       Constraint: If the value is greater than 1,000, we return only 1,000 items.
@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/DescribeVpcEndpointsRequest.java