pub struct Builder { /* private fields */ }
Expand description
A builder for CancelWorkflowExecutionFailedEventAttributes
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn cause(self, input: CancelWorkflowExecutionFailedCause) -> Self
pub fn cause(self, input: CancelWorkflowExecutionFailedCause) -> Self
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
sourcepub fn set_cause(self, input: Option<CancelWorkflowExecutionFailedCause>) -> Self
pub fn set_cause(self, input: Option<CancelWorkflowExecutionFailedCause>) -> Self
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If cause
is set to OPERATION_NOT_PERMITTED
, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
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) -> CancelWorkflowExecutionFailedEventAttributes
pub fn build(self) -> CancelWorkflowExecutionFailedEventAttributes
Consumes the builder and constructs a CancelWorkflowExecutionFailedEventAttributes
.