public static interface ChildWorkflowExecutionFailedEventAttributes.Builder extends CopyableBuilder<ChildWorkflowExecutionFailedEventAttributes.Builder,ChildWorkflowExecutionFailedEventAttributes>
Modifier and Type | Method and Description |
---|---|
ChildWorkflowExecutionFailedEventAttributes.Builder |
details(String details)
The details of the failure (if provided).
|
ChildWorkflowExecutionFailedEventAttributes.Builder |
initiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event corresponding to the
StartChildWorkflowExecution Decision to start this child workflow execution. |
ChildWorkflowExecutionFailedEventAttributes.Builder |
reason(String reason)
The reason for the failure (if provided).
|
ChildWorkflowExecutionFailedEventAttributes.Builder |
startedEventId(Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted event recorded when this child workflow execution
was started. |
default ChildWorkflowExecutionFailedEventAttributes.Builder |
workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The child workflow execution that failed.
|
ChildWorkflowExecutionFailedEventAttributes.Builder |
workflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that failed.
|
default ChildWorkflowExecutionFailedEventAttributes.Builder |
workflowType(Consumer<WorkflowType.Builder> workflowType)
The type of the child workflow execution.
|
ChildWorkflowExecutionFailedEventAttributes.Builder |
workflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
copy
apply, build
ChildWorkflowExecutionFailedEventAttributes.Builder workflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that failed.
workflowExecution
- The child workflow execution that failed.default ChildWorkflowExecutionFailedEventAttributes.Builder workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The child workflow execution that failed.
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)
ChildWorkflowExecutionFailedEventAttributes.Builder workflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.default ChildWorkflowExecutionFailedEventAttributes.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)
ChildWorkflowExecutionFailedEventAttributes.Builder reason(String reason)
The reason for the failure (if provided).
reason
- The reason for the failure (if provided).ChildWorkflowExecutionFailedEventAttributes.Builder details(String details)
The details of the failure (if provided).
details
- The details of the failure (if provided).ChildWorkflowExecutionFailedEventAttributes.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.ChildWorkflowExecutionFailedEventAttributes.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.