public EventSubscription withEventCategoriesList(String... eventCategoriesList) {
        if (this.eventCategoriesList == null) {
            setEventCategoriesList(new java.util.ArrayList<String>(eventCategoriesList.length));
        }
        for (String ele : eventCategoriesList) {
            this.eventCategoriesList.add(ele);
        }
        return this;
    }
public EventSubscription withEventCategoriesList ( String ... eventCategoriesList ) { if ( this . eventCategoriesList == null ) { setEventCategoriesList ( new java . util . ArrayList < String > ( eventCategoriesList . length ) ) ; } for ( String ele : eventCategoriesList ) { this . eventCategoriesList . add ( ele ) ; } return this ; }
<p>
A list of event categories for the event notification subscription.
</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
A list of event categories for the event notification subscription.
@return Returns a reference to this object so that method calls can be chained together.