pub struct Builder { /* private fields */ }
Expand description
A builder for DecisionTaskTimedOutEventAttributes
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn timeout_type(self, input: DecisionTaskTimeoutType) -> Self
pub fn timeout_type(self, input: DecisionTaskTimeoutType) -> Self
The type of timeout that expired before the decision task could be completed.
sourcepub fn set_timeout_type(self, input: Option<DecisionTaskTimeoutType>) -> Self
pub fn set_timeout_type(self, input: Option<DecisionTaskTimeoutType>) -> Self
The type of timeout that expired before the decision task could be completed.
sourcepub fn scheduled_event_id(self, input: i64) -> Self
pub fn scheduled_event_id(self, input: i64) -> Self
The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_scheduled_event_id(self, input: Option<i64>) -> Self
pub fn set_scheduled_event_id(self, input: Option<i64>) -> Self
The ID of the DecisionTaskScheduled
event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn started_event_id(self, input: i64) -> Self
pub fn started_event_id(self, input: i64) -> Self
The ID of the DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_started_event_id(self, input: Option<i64>) -> Self
pub fn set_started_event_id(self, input: Option<i64>) -> Self
The ID of the DecisionTaskStarted
event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn build(self) -> DecisionTaskTimedOutEventAttributes
pub fn build(self) -> DecisionTaskTimedOutEventAttributes
Consumes the builder and constructs a DecisionTaskTimedOutEventAttributes
.