pub fn events(mut self, input: crate::model::RepositoryTriggerEventEnum) -> 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 repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. </p> <note>
/// <p>The valid value "all" cannot be used with any other values.</p>
/// </note>
Appends an item to `events`.
To override the contents of this collection use [`set_events`](Self::set_events).

The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.  
The valid value "all" cannot be used with any other values.

Appends an item to ` events ` . To override the contents of this collection use [ ` set_events ` ] ( Self :: set_events ) . The repository events that cause the trigger to run actions in another service such as sending a notification through Amazon SNS . The valid value " all " cannot be used with any other values .
pub fn events(mut self, input: crate::model::RepositoryTriggerEventEnum) -> 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 :: RepositoryTriggerEventEnum ) -> 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::RepositoryTriggerEventEnum
mut self
input
crate::model::RepositoryTriggerEventEnum