pub struct Builder { /* private fields */ }
Expand description
A builder for DecisionTaskCompletedEventAttributes
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn execution_context(self, input: impl Into<String>) -> Self
pub fn execution_context(self, input: impl Into<String>) -> Self
User defined context for the workflow execution.
sourcepub fn set_execution_context(self, input: Option<String>) -> Self
pub fn set_execution_context(self, input: Option<String>) -> Self
User defined context for the workflow execution.
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) -> DecisionTaskCompletedEventAttributes
pub fn build(self) -> DecisionTaskCompletedEventAttributes
Consumes the builder and constructs a DecisionTaskCompletedEventAttributes
.