pub fn events(mut self, input: crate::model::Event) -> Self {
            let mut v = self.events.unwrap_or_default();
            v.push(input);
            self.events = Some(v);
            self
        }
/// Appends an item to `events`.
///
/// To override the contents of this collection use [`set_events`](Self::set_events).
///
/// <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported Event Types</a> in the <i>Amazon S3 User Guide</i>.</p>
Appends an item to `events`.
To override the contents of this collection use [`set_events`](Self::set_events).

The Amazon S3 bucket event for which to invoke the Lambda function. For more information, see Supported Event Types in the Amazon S3 User Guide.
Appends an item to ` events ` . To override the contents of this collection use [ ` set_events ` ] ( Self :: set_events ) . The Amazon S3 bucket event for which to invoke the Lambda function . For more information see Supported Event Types in the Amazon S3 User Guide .
pub fn events(mut self, input: crate::model::Event) -> Self {
            let mut v = self.events.unwrap_or_default();
            v.push(input);
            self.events = Some(v);
            self
        }
pub fn events ( mut self , input : crate :: model :: Event ) -> Self { let mut v = self . events . unwrap_or_default ( ) ; v . push ( input ) ; self . events = Some ( v ) ; self }
Appends an item to `events`.
Appends an item to ` events ` .
mut self
input
crate::model::Event
mut self
input
crate::model::Event