public NotificationConfig withNotificationEvents(java.util.Collection<String> notificationEvents) {
        setNotificationEvents(notificationEvents);
        return this;
    }
<p>
The different events for which you can receive notifications. To learn more about these events, see <a
href="https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html">Monitoring
Systems Manager status changes using Amazon SNS notifications</a> in the <i>Amazon Web Services Systems Manager
User Guide</i>.
</p>

@param notificationEvents
       The different events for which you can receive notifications. To learn more about these events, see <a
       href="https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html">
       Monitoring Systems Manager status changes using Amazon SNS notifications</a> in the <i>Amazon Web Services
       Systems Manager User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
@see NotificationEvent
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/NotificationConfig.java