pub struct Builder { /* private fields */ }
Expand description
A builder for WorkflowExecutionCompletedEventAttributes
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn result(self, input: impl Into<String>) -> Self
pub fn result(self, input: impl Into<String>) -> Self
The result produced by the workflow execution upon successful completion.
sourcepub fn set_result(self, input: Option<String>) -> Self
pub fn set_result(self, input: Option<String>) -> Self
The result produced by the workflow execution upon successful completion.
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 CompleteWorkflowExecution
decision to complete this execution. 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 CompleteWorkflowExecution
decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn build(self) -> WorkflowExecutionCompletedEventAttributes
pub fn build(self) -> WorkflowExecutionCompletedEventAttributes
Consumes the builder and constructs a WorkflowExecutionCompletedEventAttributes
.