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