CopyableBuilder<WorkflowExecutionCancelRequestedEventAttributes.Builder,WorkflowExecutionCancelRequestedEventAttributes>
, SdkBuilder<WorkflowExecutionCancelRequestedEventAttributes.Builder,WorkflowExecutionCancelRequestedEventAttributes>
public static interface WorkflowExecutionCancelRequestedEventAttributes.Builder extends CopyableBuilder<WorkflowExecutionCancelRequestedEventAttributes.Builder,WorkflowExecutionCancelRequestedEventAttributes>
Modifier and Type | Method | Description |
---|---|---|
WorkflowExecutionCancelRequestedEventAttributes.Builder |
cause(String cause) |
If set, indicates that the request to cancel the workflow execution was automatically generated, and
specifies the cause.
|
WorkflowExecutionCancelRequestedEventAttributes.Builder |
cause(WorkflowExecutionCancelRequestedCause cause) |
If set, indicates that the request to cancel the workflow execution was automatically generated, and
specifies the cause.
|
WorkflowExecutionCancelRequestedEventAttributes.Builder |
externalInitiatedEventId(Long externalInitiatedEventId) |
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source
event with this ID can be found in the history of the source workflow execution. |
WorkflowExecutionCancelRequestedEventAttributes.Builder |
externalWorkflowExecution(WorkflowExecution externalWorkflowExecution) |
The external workflow execution for which the cancellation was requested.
|
copy
apply, build
WorkflowExecutionCancelRequestedEventAttributes.Builder externalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The external workflow execution for which the cancellation was requested.
externalWorkflowExecution
- The external workflow execution for which the cancellation was requested.WorkflowExecutionCancelRequestedEventAttributes.Builder externalInitiatedEventId(Long externalInitiatedEventId)
The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the
RequestCancelExternalWorkflowExecution
decision to cancel this workflow execution.The source
event with this ID can be found in the history of the source workflow execution. This information can be
useful for diagnosing problems by tracing back the chain of events leading up to this event.
externalInitiatedEventId
- The ID of the RequestCancelExternalWorkflowExecutionInitiated
event corresponding to the
RequestCancelExternalWorkflowExecution
decision to cancel this workflow execution.The
source event with this ID can be found in the history of the source workflow execution. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to
this event.WorkflowExecutionCancelRequestedEventAttributes.Builder cause(String cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
cause
- If set, indicates that the request to cancel the workflow execution was automatically generated, and
specifies the cause. This happens if the parent workflow execution times out or is terminated, and the
child policy is set to cancel child executions.WorkflowExecutionCancelRequestedCause
WorkflowExecutionCancelRequestedEventAttributes.Builder cause(WorkflowExecutionCancelRequestedCause cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
cause
- If set, indicates that the request to cancel the workflow execution was automatically generated, and
specifies the cause. This happens if the parent workflow execution times out or is terminated, and the
child policy is set to cancel child executions.WorkflowExecutionCancelRequestedCause
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.