pub fn build(self) -> crate::model::ActivityTaskFailedEventAttributes {
            crate::model::ActivityTaskFailedEventAttributes {
                reason: self.reason,
                details: self.details,
                scheduled_event_id: self.scheduled_event_id.unwrap_or_default(),
                started_event_id: self.started_event_id.unwrap_or_default(),
            }
        }
/// Consumes the builder and constructs a [`ActivityTaskFailedEventAttributes`](crate::model::ActivityTaskFailedEventAttributes)
Consumes the builder and constructs a [`ActivityTaskFailedEventAttributes`](crate::model::ActivityTaskFailedEventAttributes)
Consumes the builder and constructs a [ ` ActivityTaskFailedEventAttributes ` ] ( crate :: model :: ActivityTaskFailedEventAttributes )
pub fn build(self) -> crate::model::ActivityTaskFailedEventAttributes {
            crate::model::ActivityTaskFailedEventAttributes {
                reason: self.reason,
                details: self.details,
                scheduled_event_id: self.scheduled_event_id.unwrap_or_default(),
                started_event_id: self.started_event_id.unwrap_or_default(),
            }
        }
pub fn build ( self ) -> crate :: model :: ActivityTaskFailedEventAttributes { crate :: model :: ActivityTaskFailedEventAttributes { reason : self . reason , details : self . details , scheduled_event_id : self . scheduled_event_id . unwrap_or_default ( ) , started_event_id : self . started_event_id . unwrap_or_default ( ) , } }
Consumes the builder and constructs a [`ActivityTaskFailedEventAttributes`](crate::model::ActivityTaskFailedEventAttributes)
Consumes the builder and constructs a [ ` ActivityTaskFailedEventAttributes ` ] ( crate :: model :: ActivityTaskFailedEventAttributes )
self
self