Interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder,
,RequestCancelExternalWorkflowExecutionInitiatedEventAttributes> SdkBuilder<RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder,
,RequestCancelExternalWorkflowExecutionInitiatedEventAttributes> SdkPojo
- Enclosing class:
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
public static interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder
extends SdkPojo, CopyableBuilder<RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder,RequestCancelExternalWorkflowExecutionInitiatedEventAttributes>
-
Method Summary
Modifier and TypeMethodDescriptionData attached to the event that can be used by the decider in subsequent workflow tasks.decisionTaskCompletedEventId
(Long decisionTaskCompletedEventId) The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecution
decision for this cancellation request.TherunId
of the external workflow execution to be canceled.workflowId
(String workflowId) TheworkflowId
of the external workflow execution to be canceled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
workflowId
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder workflowId(String workflowId) The
workflowId
of the external workflow execution to be canceled.- Parameters:
workflowId
- TheworkflowId
of the external workflow execution to be canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runId
The
runId
of the external workflow execution to be canceled.- Parameters:
runId
- TherunId
of the external workflow execution to be canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisionTaskCompletedEventId
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder decisionTaskCompletedEventId(Long decisionTaskCompletedEventId) The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecution
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.- Parameters:
decisionTaskCompletedEventId
- The ID of theDecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecution
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
control
Data attached to the event that can be used by the decider in subsequent workflow tasks.
- Parameters:
control
- Data attached to the event that can be used by the decider in subsequent workflow tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-