pub struct Builder { /* private fields */ }
Expand description
A builder for ChildWorkflowExecutionFailedEventAttributes
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn workflow_execution(self, input: WorkflowExecution) -> Self
pub fn workflow_execution(self, input: WorkflowExecution) -> Self
The child workflow execution that failed.
sourcepub fn set_workflow_execution(self, input: Option<WorkflowExecution>) -> Self
pub fn set_workflow_execution(self, input: Option<WorkflowExecution>) -> Self
The child workflow execution that failed.
sourcepub fn workflow_type(self, input: WorkflowType) -> Self
pub fn workflow_type(self, input: WorkflowType) -> Self
The type of the child workflow execution.
sourcepub fn set_workflow_type(self, input: Option<WorkflowType>) -> Self
pub fn set_workflow_type(self, input: Option<WorkflowType>) -> Self
The type of the child workflow execution.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
The reason for the failure (if provided).
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for the failure (if provided).
sourcepub fn details(self, input: impl Into<String>) -> Self
pub fn details(self, input: impl Into<String>) -> Self
The details of the failure (if provided).
sourcepub fn set_details(self, input: Option<String>) -> Self
pub fn set_details(self, input: Option<String>) -> Self
The details of the failure (if provided).
sourcepub fn initiated_event_id(self, input: i64) -> Self
pub fn initiated_event_id(self, input: i64) -> Self
The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the StartChildWorkflowExecution
Decision
to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
sourcepub fn set_initiated_event_id(self, input: Option<i64>) -> Self
pub fn set_initiated_event_id(self, input: Option<i64>) -> Self
The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the StartChildWorkflowExecution
Decision
to start this child workflow execution. 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 ChildWorkflowExecutionStarted
event recorded when this child workflow execution 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 ChildWorkflowExecutionStarted
event recorded when this child workflow execution 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) -> ChildWorkflowExecutionFailedEventAttributes
pub fn build(self) -> ChildWorkflowExecutionFailedEventAttributes
Consumes the builder and constructs a ChildWorkflowExecutionFailedEventAttributes
.