public EventFilter withEndTimes(java.util.Collection<DateTimeRange> endTimes) {
        setEndTimes(endTimes);
        return this;
    }
<p>
A list of dates and times that the event ended.
</p>

@param endTimes
       A list of dates and times that the event ended.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/EventFilter.java