pub fn build(self) -> crate::model::ScheduleActivityTaskFailedEventAttributes {
            crate::model::ScheduleActivityTaskFailedEventAttributes {
                activity_type: self.activity_type,
                activity_id: self.activity_id,
                cause: self.cause,
                decision_task_completed_event_id: self
                    .decision_task_completed_event_id
                    .unwrap_or_default(),
            }
        }
/// Consumes the builder and constructs a [`ScheduleActivityTaskFailedEventAttributes`](crate::model::ScheduleActivityTaskFailedEventAttributes)
Consumes the builder and constructs a [`ScheduleActivityTaskFailedEventAttributes`](crate::model::ScheduleActivityTaskFailedEventAttributes)
Consumes the builder and constructs a [ ` ScheduleActivityTaskFailedEventAttributes ` ] ( crate :: model :: ScheduleActivityTaskFailedEventAttributes )
pub fn build(self) -> crate::model::ScheduleActivityTaskFailedEventAttributes {
            crate::model::ScheduleActivityTaskFailedEventAttributes {
                activity_type: self.activity_type,
                activity_id: self.activity_id,
                cause: self.cause,
                decision_task_completed_event_id: self
                    .decision_task_completed_event_id
                    .unwrap_or_default(),
            }
        }
pub fn build ( self ) -> crate :: model :: ScheduleActivityTaskFailedEventAttributes { crate :: model :: ScheduleActivityTaskFailedEventAttributes { activity_type : self . activity_type , activity_id : self . activity_id , cause : self . cause , decision_task_completed_event_id : self . decision_task_completed_event_id . unwrap_or_default ( ) , } }
Consumes the builder and constructs a [`ScheduleActivityTaskFailedEventAttributes`](crate::model::ScheduleActivityTaskFailedEventAttributes)
Consumes the builder and constructs a [ ` ScheduleActivityTaskFailedEventAttributes ` ] ( crate :: model :: ScheduleActivityTaskFailedEventAttributes )
self
self