public static interface ChildWorkflowExecutionCanceledEventAttributes.Builder extends SdkPojo, CopyableBuilder<ChildWorkflowExecutionCanceledEventAttributes.Builder,ChildWorkflowExecutionCanceledEventAttributes>
Modifier and Type | Method and Description |
---|---|
ChildWorkflowExecutionCanceledEventAttributes.Builder |
details(String details)
Details of the cancellation (if provided).
|
ChildWorkflowExecutionCanceledEventAttributes.Builder |
initiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event corresponding to the
StartChildWorkflowExecution Decision to start this child workflow execution. |
ChildWorkflowExecutionCanceledEventAttributes.Builder |
startedEventId(Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted event recorded when this child workflow execution
was started. |
default ChildWorkflowExecutionCanceledEventAttributes.Builder |
workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The child workflow execution that was canceled.
|
ChildWorkflowExecutionCanceledEventAttributes.Builder |
workflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.
|
default ChildWorkflowExecutionCanceledEventAttributes.Builder |
workflowType(Consumer<WorkflowType.Builder> workflowType)
The type of the child workflow execution.
|
ChildWorkflowExecutionCanceledEventAttributes.Builder |
workflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
copy
applyMutation, build
ChildWorkflowExecutionCanceledEventAttributes.Builder workflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.
workflowExecution
- The child workflow execution that was canceled.default ChildWorkflowExecutionCanceledEventAttributes.Builder workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The child workflow execution that was canceled.
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.Builder
workflowExecution(WorkflowExecution)
ChildWorkflowExecutionCanceledEventAttributes.Builder workflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.default ChildWorkflowExecutionCanceledEventAttributes.Builder workflowType(Consumer<WorkflowType.Builder> workflowType)
The type of the child workflow execution.
This is a convenience that creates an instance of theWorkflowType.Builder
avoiding the need to
create one manually via WorkflowType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to workflowType(WorkflowType)
.workflowType
- a consumer that will call methods on WorkflowType.Builder
workflowType(WorkflowType)
ChildWorkflowExecutionCanceledEventAttributes.Builder details(String details)
Details of the cancellation (if provided).
details
- Details of the cancellation (if provided).ChildWorkflowExecutionCanceledEventAttributes.Builder initiatedEventId(Long initiatedEventId)
The ID of the StartChildWorkflowExecutionInitiated
event corresponding to the
StartChildWorkflowExecution
Decision to start this child 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 StartChildWorkflowExecutionInitiated
event corresponding to the
StartChildWorkflowExecution
Decision to start this child workflow execution. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to
this event.ChildWorkflowExecutionCanceledEventAttributes.Builder startedEventId(Long startedEventId)
The ID of the ChildWorkflowExecutionStarted
event recorded when this child workflow execution
was started. This information can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.
startedEventId
- The ID of the ChildWorkflowExecutionStarted
event recorded when this child workflow
execution was started. 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.