public void setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
    }
<p>
The maximum number of results returned by the call.
</p>

@param maxResults
       The maximum number of results returned by the call.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/ListEndpointsRequest.java