Interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder,,RequestCancelExternalWorkflowExecutionInitiatedEventAttributes> SdkBuilder<RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder,,RequestCancelExternalWorkflowExecutionInitiatedEventAttributes> SdkPojo
- Enclosing class:
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
@Mutable
@NotThreadSafe
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 theDecisionTaskCompletedevent corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecutiondecision for this cancellation request.TherunIdof the external workflow execution to be canceled.workflowId(String workflowId) TheworkflowIdof the external workflow execution to be canceled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workflowId
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder workflowId(String workflowId) The
workflowIdof the external workflow execution to be canceled.- Parameters:
workflowId- TheworkflowIdof the external workflow execution to be canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runId
The
runIdof the external workflow execution to be canceled.- Parameters:
runId- TherunIdof 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
DecisionTaskCompletedevent corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecutiondecision 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 theDecisionTaskCompletedevent corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecutiondecision 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.
-