public EventSubscription withEventCategoriesList(String... eventCategoriesList) {
        if (this.eventCategoriesList == null) {
            setEventCategoriesList(new com.amazonaws.internal.SdkInternalList<String>(eventCategoriesList.length));
        }
        for (String ele : eventCategoriesList) {
            this.eventCategoriesList.add(ele);
        }
        return this;
    }
<p>
The list of Amazon Redshift event categories specified in the event notification subscription.
</p>
<p>
Values: Configuration, Management, Monitoring, Security, Pending
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEventCategoriesList(java.util.Collection)} or {@link #withEventCategoriesList(java.util.Collection)}
if you want to override the existing values.
</p>

@param eventCategoriesList
       The list of Amazon Redshift event categories specified in the event notification subscription.</p>
       <p>
       Values: Configuration, Management, Monitoring, Security, Pending
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/EventSubscription.java