public void setEventTypes(java.util.Collection<EventTypeSummary> eventTypes) {
        if (eventTypes == null) {
            this.eventTypes = null;
            return;
        }

        this.eventTypes = new java.util.ArrayList<EventTypeSummary>(eventTypes);
    }
<p>
A list of the event types associated with the notification rule.
</p>

@param eventTypes
       A list of the event types associated with the notification rule.
aws-java-sdk-codestarnotifications/src/main/java/com/amazonaws/services/codestarnotifications/model/DescribeNotificationRuleResult.java