public Event withEventCategories(java.util.Collection<String> eventCategories) {
        setEventCategories(eventCategories);
        return this;
    }
<p>
A list of the event categories.
</p>
<p>
Values: Configuration, Management, Monitoring, Security, Pending
</p>

@param eventCategories
       A list of the event categories.</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/Event.java