public EventFilter withEventTypeCategories(String... eventTypeCategories) {
        if (this.eventTypeCategories == null) {
            setEventTypeCategories(new java.util.ArrayList<String>(eventTypeCategories.length));
        }
        for (String ele : eventTypeCategories) {
            this.eventTypeCategories.add(ele);
        }
        return this;
    }
<p>
A list of event type category codes. Possible values are <code>issue</code>, <code>accountNotification</code>, or
<code>scheduledChange</code>. Currently, the <code>investigation</code> value isn't supported at this time.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEventTypeCategories(java.util.Collection)} or {@link #withEventTypeCategories(java.util.Collection)}
if you want to override the existing values.
</p>

@param eventTypeCategories
       A list of event type category codes. Possible values are <code>issue</code>,
       <code>accountNotification</code>, or <code>scheduledChange</code>. Currently, the
       <code>investigation</code> value isn't supported at this time.
@return Returns a reference to this object so that method calls can be chained together.
@see EventTypeCategory
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/EventFilter.java