pub struct Builder { /* private fields */ }
Expand description
A builder for WorkflowExecutionCanceledEventAttributes
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_details(self, input: Option<String>) -> Self
pub fn set_details(self, input: Option<String>) -> Self
The details of the cancellation.
sourcepub fn decision_task_completed_event_id(self, input: i64) -> Self
pub fn decision_task_completed_event_id(self, input: i64) -> Self
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the CancelWorkflowExecution
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_decision_task_completed_event_id(self, input: Option<i64>) -> Self
pub fn set_decision_task_completed_event_id(self, input: Option<i64>) -> Self
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the CancelWorkflowExecution
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn build(self) -> WorkflowExecutionCanceledEventAttributes
pub fn build(self) -> WorkflowExecutionCanceledEventAttributes
Consumes the builder and constructs a WorkflowExecutionCanceledEventAttributes
.