pub fn build(self) -> crate::model::EventDestinationDefinition {
            crate::model::EventDestinationDefinition {
                cloud_watch_logs_destination: self.cloud_watch_logs_destination,
                enabled: self.enabled.unwrap_or_default(),
                kinesis_firehose_destination: self.kinesis_firehose_destination,
                matching_event_types: self.matching_event_types,
                sns_destination: self.sns_destination,
            }
        }
/// Consumes the builder and constructs a [`EventDestinationDefinition`](crate::model::EventDestinationDefinition)
Consumes the builder and constructs a [`EventDestinationDefinition`](crate::model::EventDestinationDefinition)
Consumes the builder and constructs a [ ` EventDestinationDefinition ` ] ( crate :: model :: EventDestinationDefinition )
pub fn build(self) -> crate::model::EventDestinationDefinition {
            crate::model::EventDestinationDefinition {
                cloud_watch_logs_destination: self.cloud_watch_logs_destination,
                enabled: self.enabled.unwrap_or_default(),
                kinesis_firehose_destination: self.kinesis_firehose_destination,
                matching_event_types: self.matching_event_types,
                sns_destination: self.sns_destination,
            }
        }
pub fn build ( self ) -> crate :: model :: EventDestinationDefinition { crate :: model :: EventDestinationDefinition { cloud_watch_logs_destination : self . cloud_watch_logs_destination , enabled : self . enabled . unwrap_or_default ( ) , kinesis_firehose_destination : self . kinesis_firehose_destination , matching_event_types : self . matching_event_types , sns_destination : self . sns_destination , } }
Consumes the builder and constructs a [`EventDestinationDefinition`](crate::model::EventDestinationDefinition)
Consumes the builder and constructs a [ ` EventDestinationDefinition ` ] ( crate :: model :: EventDestinationDefinition )
self
self