public void setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
    }
<p>
The maximum number of endpoints that will be returned in the response.
</p>

@param maxResults
       The maximum number of endpoints that will be returned in the response.
aws-java-sdk-s3outposts/src/main/java/com/amazonaws/services/s3outposts/model/ListEndpointsRequest.java