public void setEvents(java.util.Collection<String> events) {
        if (events == null) {
            this.events = null;
            return;
        }

        this.events = new java.util.ArrayList<String>(events);
    }
<p>
The list of events that trigger a notification.
</p>

@param events
       The list of events that trigger a notification.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsS3BucketNotificationConfigurationDetail.java