public void setEndTimes(java.util.Collection<DateTimeRange> endTimes) {
        if (endTimes == null) {
            this.endTimes = null;
            return;
        }

        this.endTimes = new java.util.ArrayList<DateTimeRange>(endTimes);
    }
<p>
A list of dates and times that the event ended.
</p>

@param endTimes
       A list of dates and times that the event ended.
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/EventFilter.java