public void setEvents(Set<String> events) {
        this.events = events;
    }
Sets the given events in this {@link NotificationConfiguration} object.

@param events
           the set of events for the notification configuration.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/NotificationConfiguration.java