public Archive withEventCount(Long eventCount) {
        setEventCount(eventCount);
        return this;
    }
<p>
The number of events in the archive.
</p>

@param eventCount
       The number of events in the archive.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/Archive.java