public AwsS3BucketNotificationConfigurationDetail withEvents(java.util.Collection<String> events) {
        setEvents(events);
        return this;
    }
<p>
The list of events that trigger a notification.
</p>

@param events
       The list of events that trigger a notification.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsS3BucketNotificationConfigurationDetail.java