public void setEventCategories(java.util.Collection<String> eventCategories) {
        if (eventCategories == null) {
            this.eventCategories = null;
            return;
        }

        this.eventCategories = new java.util.ArrayList<String>(eventCategories);
    }
public void setEventCategories ( java . util . Collection < String > eventCategories ) { if ( eventCategories == null ) { this . eventCategories = null ; return ; } this . eventCategories = new java . util . ArrayList < String > ( eventCategories ) ; }
<p>
A list of event categories for a source type that you want to subscribe to. You can see a list of the categories
for a given source type by calling the <code>DescribeEventCategories</code> action or in the topic <a
href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with Events and
Notifications</a> in the <i>AWS Database Migration Service User Guide.</i>
</p>

@param eventCategories
A list of event categories for a source type that you want to subscribe to. You can see a list of the
categories for a given source type by calling the <code>DescribeEventCategories</code> action or in the
topic <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with Events and
Notifications</a> in the <i>AWS Database Migration Service User Guide.</i>