@Generated(value="software.amazon.awssdk:codegen") public class StartChildWorkflowExecutionFailedEventAttributes extends Object implements StructuredPojo, ToCopyableBuilder<StartChildWorkflowExecutionFailedEventAttributes.Builder,StartChildWorkflowExecutionFailedEventAttributes>
Provides the details of the StartChildWorkflowExecutionFailed event.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartChildWorkflowExecutionFailedEventAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartChildWorkflowExecutionFailedEventAttributes.Builder |
builder() |
StartChildWorkflowExecutionFailedCause |
cause()
The cause of the failure.
|
String |
causeAsString()
The cause of the failure.
|
String |
control()
The data attached to the event that the decider can use in subsequent workflow tasks.
|
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. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends StartChildWorkflowExecutionFailedEventAttributes.Builder> |
serializableBuilderClass() |
StartChildWorkflowExecutionFailedEventAttributes.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
workflowId()
The
workflowId of the child workflow execution. |
WorkflowType |
workflowType()
The workflow type provided in the
StartChildWorkflowExecution Decision that failed. |
copypublic WorkflowType workflowType()
The workflow type provided in the StartChildWorkflowExecution Decision that failed.
StartChildWorkflowExecution Decision that failed.public 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.
If the service returns an enum value that is not available in the current SDK version, cause will return
StartChildWorkflowExecutionFailedCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from causeAsString().
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.
StartChildWorkflowExecutionFailedCausepublic String causeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, cause will return
StartChildWorkflowExecutionFailedCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from causeAsString().
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.
StartChildWorkflowExecutionFailedCausepublic String workflowId()
The workflowId of the child workflow execution.
workflowId of the child workflow execution.public 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.
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.
public 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.
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.public 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.
public StartChildWorkflowExecutionFailedEventAttributes.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<StartChildWorkflowExecutionFailedEventAttributes.Builder,StartChildWorkflowExecutionFailedEventAttributes>public static StartChildWorkflowExecutionFailedEventAttributes.Builder builder()
public static Class<? extends StartChildWorkflowExecutionFailedEventAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.