public EventFilter withEventStatusCodes(EventStatusCode... eventStatusCodes) {
        java.util.ArrayList<String> eventStatusCodesCopy = new java.util.ArrayList<String>(eventStatusCodes.length);
        for (EventStatusCode value : eventStatusCodes) {
            eventStatusCodesCopy.add(value.toString());
        }
        if (getEventStatusCodes() == null) {
            setEventStatusCodes(eventStatusCodesCopy);
        } else {
            getEventStatusCodes().addAll(eventStatusCodesCopy);
        }
        return this;
    }
<p>
A list of event status codes.
</p>

@param eventStatusCodes
       A list of event status codes.
@return Returns a reference to this object so that method calls can be chained together.
@see EventStatusCode
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/EventFilter.java