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

        this.eventCategories = new com.amazonaws.internal.SdkInternalList<String>(eventCategories);
    }
<p>
A list of event categories for a particular source type (<code>SourceType</code>) that you want to subscribe to.
You can see a list of the categories for a given source type in the
"Amazon RDS event categories and event messages" section of the <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html"> <i>Amazon RDS User
Guide</i> </a> or the <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html"> <i>Amazon Aurora
User Guide</i> </a>. You can also see this list by using the <code>DescribeEventCategories</code> operation.
</p>

@param eventCategories
       A list of event categories for a particular source type (<code>SourceType</code>) that you want to
       subscribe to. You can see a list of the categories for a given source type in the
       "Amazon RDS event categories and event messages" section of the <a
       href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Messages.html"> <i>Amazon RDS
       User Guide</i> </a> or the <a
       href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Messages.html"> <i>Amazon
       Aurora User Guide</i> </a>. You can also see this list by using the <code>DescribeEventCategories</code>
       operation.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/CreateEventSubscriptionRequest.java