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>
Specifies the Amazon Redshift event categories to be published by the event notification subscription.
</p>
<p>
Values: configuration, management, monitoring, security, pending
</p>

@param eventCategories
       Specifies the Amazon Redshift event categories to be published by the event notification subscription.</p>
       <p>
       Values: configuration, management, monitoring, security, pending
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/CreateEventSubscriptionRequest.java