public static interface StartChildWorkflowExecutionFailedEventAttributes.Builder extends CopyableBuilder<StartChildWorkflowExecutionFailedEventAttributes.Builder,StartChildWorkflowExecutionFailedEventAttributes>
Modifier and Type | Method and Description |
---|---|
StartChildWorkflowExecutionFailedEventAttributes.Builder |
cause(StartChildWorkflowExecutionFailedCause cause)
The cause of the failure.
|
StartChildWorkflowExecutionFailedEventAttributes.Builder |
cause(String cause)
The cause of the failure.
|
StartChildWorkflowExecutionFailedEventAttributes.Builder |
control(String control)
The data attached to the event that the decider can use in subsequent workflow tasks.
|
StartChildWorkflowExecutionFailedEventAttributes.Builder |
decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to the decision task that resulted in
the StartChildWorkflowExecution Decision to request this child workflow execution. |
StartChildWorkflowExecutionFailedEventAttributes.Builder |
initiatedEventId(Long initiatedEventId)
When the
cause is WORKFLOW_ALREADY_RUNNING , initiatedEventId is the ID
of the StartChildWorkflowExecutionInitiated event that corresponds to the
StartChildWorkflowExecution Decision to start the workflow execution. |
StartChildWorkflowExecutionFailedEventAttributes.Builder |
workflowId(String workflowId)
The
workflowId of the child workflow execution. |
default StartChildWorkflowExecutionFailedEventAttributes.Builder |
workflowType(Consumer<WorkflowType.Builder> workflowType)
The workflow type provided in the
StartChildWorkflowExecution Decision that failed. |
StartChildWorkflowExecutionFailedEventAttributes.Builder |
workflowType(WorkflowType workflowType)
The workflow type provided in the
StartChildWorkflowExecution Decision that failed. |
copy
applyMutation, build
StartChildWorkflowExecutionFailedEventAttributes.Builder workflowType(WorkflowType workflowType)
The workflow type provided in the StartChildWorkflowExecution
Decision that failed.
workflowType
- The workflow type provided in the StartChildWorkflowExecution
Decision that
failed.default StartChildWorkflowExecutionFailedEventAttributes.Builder workflowType(Consumer<WorkflowType.Builder> workflowType)
The workflow type provided in the StartChildWorkflowExecution
Decision that failed.
WorkflowType.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)
StartChildWorkflowExecutionFailedEventAttributes.Builder cause(String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
When cause
is set to OPERATION_NOT_PERMITTED
, the decision fails because it lacks
sufficient permissions. For details and example IAM policies, see Using IAM to Manage
Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
cause
- The cause of the failure. This information is generated by the system and can be useful for diagnostic
purposes.
When cause
is set to OPERATION_NOT_PERMITTED
, the decision fails because it
lacks sufficient permissions. For details and example IAM policies, see Using IAM to
Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
StartChildWorkflowExecutionFailedCause
,
StartChildWorkflowExecutionFailedCause
StartChildWorkflowExecutionFailedEventAttributes.Builder cause(StartChildWorkflowExecutionFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
When cause
is set to OPERATION_NOT_PERMITTED
, the decision fails because it lacks
sufficient permissions. For details and example IAM policies, see Using IAM to Manage
Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
cause
- The cause of the failure. This information is generated by the system and can be useful for diagnostic
purposes.
When cause
is set to OPERATION_NOT_PERMITTED
, the decision fails because it
lacks sufficient permissions. For details and example IAM policies, see Using IAM to
Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
StartChildWorkflowExecutionFailedCause
,
StartChildWorkflowExecutionFailedCause
StartChildWorkflowExecutionFailedEventAttributes.Builder workflowId(String workflowId)
The workflowId
of the child workflow execution.
workflowId
- The workflowId
of the child workflow execution.StartChildWorkflowExecutionFailedEventAttributes.Builder initiatedEventId(Long initiatedEventId)
When the cause
is WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is the ID
of the StartChildWorkflowExecutionInitiated
event that corresponds to the
StartChildWorkflowExecution
Decision to start the workflow execution. You can use this
information to diagnose problems by tracing back the chain of events leading up to this event.
When the cause
isn't WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is set
to 0
because the StartChildWorkflowExecutionInitiated
event doesn't exist.
initiatedEventId
- When the cause
is WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is
the ID of the StartChildWorkflowExecutionInitiated
event that corresponds to the
StartChildWorkflowExecution
Decision to start the workflow execution. You can use
this information to diagnose problems by tracing back the chain of events leading up to this
event.
When the cause
isn't WORKFLOW_ALREADY_RUNNING
, initiatedEventId
is set to 0
because the StartChildWorkflowExecutionInitiated
event doesn't
exist.
StartChildWorkflowExecutionFailedEventAttributes.Builder decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in
the StartChildWorkflowExecution
Decision to request this child workflow execution. This
information can be useful for diagnosing problems by tracing back the chain of events.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding to the decision task that
resulted in the StartChildWorkflowExecution
Decision to request this child
workflow execution. This information can be useful for diagnosing problems by tracing back the chain
of events.StartChildWorkflowExecutionFailedEventAttributes.Builder control(String control)
The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the child workflow execution.
control
- The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't
sent to the child workflow execution.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.