@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartChildWorkflowExecutionFailedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of the StartChildWorkflowExecutionFailed event.
| Constructor and Description |
|---|
StartChildWorkflowExecutionFailedEventAttributes() |
| Modifier and Type | Method and Description |
|---|---|
StartChildWorkflowExecutionFailedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
The cause of the failure.
|
String |
getControl()
The data attached to the event that the decider can use in subsequent workflow tasks.
|
Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to the decision task that resulted in the
StartChildWorkflowExecution Decision to request this child workflow execution. |
Long |
getInitiatedEventId()
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. |
String |
getWorkflowId()
The
workflowId of the child workflow execution. |
WorkflowType |
getWorkflowType()
The workflow type provided in the
StartChildWorkflowExecution Decision that failed. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCause(StartChildWorkflowExecutionFailedCause cause)
The cause of the failure.
|
void |
setCause(String cause)
The cause of the failure.
|
void |
setControl(String control)
The data attached to the event that the decider can use in subsequent workflow tasks.
|
void |
setDecisionTaskCompletedEventId(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. |
void |
setInitiatedEventId(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 |
setWorkflowId(String workflowId)
The
workflowId of the child workflow execution. |
void |
setWorkflowType(WorkflowType workflowType)
The workflow type provided in the
StartChildWorkflowExecution Decision that failed. |
String |
toString()
Returns a string representation of this object.
|
StartChildWorkflowExecutionFailedEventAttributes |
withCause(StartChildWorkflowExecutionFailedCause cause)
The cause of the failure.
|
StartChildWorkflowExecutionFailedEventAttributes |
withCause(String cause)
The cause of the failure.
|
StartChildWorkflowExecutionFailedEventAttributes |
withControl(String control)
The data attached to the event that the decider can use in subsequent workflow tasks.
|
StartChildWorkflowExecutionFailedEventAttributes |
withDecisionTaskCompletedEventId(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 |
withInitiatedEventId(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 |
withWorkflowId(String workflowId)
The
workflowId of the child workflow execution. |
StartChildWorkflowExecutionFailedEventAttributes |
withWorkflowType(WorkflowType workflowType)
The workflow type provided in the
StartChildWorkflowExecution Decision that failed. |
public StartChildWorkflowExecutionFailedEventAttributes()
public void setWorkflowType(WorkflowType workflowType)
The workflow type provided in the StartChildWorkflowExecution Decision that failed.
workflowType - The workflow type provided in the StartChildWorkflowExecution Decision that failed.public WorkflowType getWorkflowType()
The workflow type provided in the StartChildWorkflowExecution Decision that failed.
StartChildWorkflowExecution Decision that failed.public StartChildWorkflowExecutionFailedEventAttributes withWorkflowType(WorkflowType workflowType)
The workflow type provided in the StartChildWorkflowExecution Decision that failed.
workflowType - The workflow type provided in the StartChildWorkflowExecution Decision that failed.public void setCause(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.
StartChildWorkflowExecutionFailedCausepublic String getCause()
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.
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 StartChildWorkflowExecutionFailedEventAttributes withCause(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.
StartChildWorkflowExecutionFailedCausepublic void setCause(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.
StartChildWorkflowExecutionFailedCausepublic StartChildWorkflowExecutionFailedEventAttributes withCause(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.
StartChildWorkflowExecutionFailedCausepublic void setWorkflowId(String workflowId)
The workflowId of the child workflow execution.
workflowId - The workflowId of the child workflow execution.public String getWorkflowId()
The workflowId of the child workflow execution.
workflowId of the child workflow execution.public StartChildWorkflowExecutionFailedEventAttributes withWorkflowId(String workflowId)
The workflowId of the child workflow execution.
workflowId - The workflowId of the child workflow execution.public void setInitiatedEventId(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.
public Long getInitiatedEventId()
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 StartChildWorkflowExecutionFailedEventAttributes withInitiatedEventId(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.
public void setDecisionTaskCompletedEventId(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.public Long getDecisionTaskCompletedEventId()
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 StartChildWorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(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.public void setControl(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.public String getControl()
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 withControl(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.public String toString()
toString in class ObjectObject.toString()public StartChildWorkflowExecutionFailedEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.