public EventFilter withStartTimes(DateTimeRange... startTimes) {
        if (this.startTimes == null) {
            setStartTimes(new java.util.ArrayList<DateTimeRange>(startTimes.length));
        }
        for (DateTimeRange ele : startTimes) {
            this.startTimes.add(ele);
        }
        return this;
    }
<p>
A list of dates and times that the event began.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStartTimes(java.util.Collection)} or {@link #withStartTimes(java.util.Collection)} if you want to
override the existing values.
</p>

@param startTimes
       A list of dates and times that the event began.
@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