public static interface ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder extends CopyableBuilder<ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder,ExternalWorkflowExecutionCancelRequestedEventAttributes>
| Modifier and Type | Method and Description |
|---|---|
ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder |
initiatedEventId(Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. |
default ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder |
workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The external workflow execution to which the cancellation request was delivered.
|
ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder |
workflowExecution(WorkflowExecution workflowExecution)
The external workflow execution to which the cancellation request was delivered.
|
copyapply, buildExternalWorkflowExecutionCancelRequestedEventAttributes.Builder workflowExecution(WorkflowExecution workflowExecution)
The external workflow execution to which the cancellation request was delivered.
workflowExecution - The external workflow execution to which the cancellation request was delivered.default ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The external workflow execution to which the cancellation request was delivered.
This is a convenience that creates an instance of theWorkflowExecution.Builder avoiding the need to
create one manually via WorkflowExecution.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to workflowExecution(WorkflowExecution).workflowExecution - a consumer that will call methods on WorkflowExecution.BuilderworkflowExecution(WorkflowExecution)ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder initiatedEventId(Long initiatedEventId)
The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to this
event.
initiatedEventId - The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
RequestCancelExternalWorkflowExecution decision to cancel this external workflow
execution. This information can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.