pub struct Builder { /* private fields */ }
Expand description
A builder for ChildWorkflowExecutionCanceledEventAttributes
.
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 was canceled.
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 was canceled.
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 details(self, input: impl Into<String>) -> Self
pub fn details(self, input: impl Into<String>) -> Self
Details of the cancellation (if provided).
sourcepub fn set_details(self, input: Option<String>) -> Self
pub fn set_details(self, input: Option<String>) -> Self
Details of the cancellation (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) -> ChildWorkflowExecutionCanceledEventAttributes
pub fn build(self) -> ChildWorkflowExecutionCanceledEventAttributes
Consumes the builder and constructs a ChildWorkflowExecutionCanceledEventAttributes
.