public DescribeNotificationRuleResult withEventTypes(java.util.Collection<EventTypeSummary> eventTypes) {
        setEventTypes(eventTypes);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codestarnotifications/src/main/java/com/amazonaws/services/codestarnotifications/model/DescribeNotificationRuleResult.java