public class StartChildWorkflowExecutionFailedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the StartChildWorkflowExecutionFailed
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cause
The cause of the failure.
|
private java.lang.String |
control |
private java.lang.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. |
private java.lang.Long |
initiatedEventId
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
private java.lang.String |
workflowId
The
workflowId of the child workflow execution. |
private WorkflowType |
workflowType
The workflow type provided in the
StartChildWorkflowExecution decision that failed. |
Constructor and Description |
---|
StartChildWorkflowExecutionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
StartChildWorkflowExecutionFailedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCause()
The cause of the failure.
|
java.lang.String |
getControl() |
java.lang.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. |
java.lang.Long |
getInitiatedEventId()
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
java.lang.String |
getWorkflowId()
The
workflowId of the child workflow execution. |
WorkflowType |
getWorkflowType()
The workflow type provided in the
StartChildWorkflowExecution decision that failed. |
int |
hashCode() |
void |
setCause(StartChildWorkflowExecutionFailedCause cause)
The cause of the failure.
|
void |
setCause(java.lang.String cause)
The cause of the failure.
|
void |
setControl(java.lang.String control) |
void |
setDecisionTaskCompletedEventId(java.lang.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(java.lang.Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
void |
setWorkflowId(java.lang.String workflowId)
The
workflowId of the child workflow execution. |
void |
setWorkflowType(WorkflowType workflowType)
The workflow type provided in the
StartChildWorkflowExecution decision that failed. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartChildWorkflowExecutionFailedEventAttributes |
withCause(StartChildWorkflowExecutionFailedCause cause)
The cause of the failure.
|
StartChildWorkflowExecutionFailedEventAttributes |
withCause(java.lang.String cause)
The cause of the failure.
|
StartChildWorkflowExecutionFailedEventAttributes |
withControl(java.lang.String control) |
StartChildWorkflowExecutionFailedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.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(java.lang.Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
StartChildWorkflowExecutionFailedEventAttributes |
withWorkflowId(java.lang.String workflowId)
The
workflowId of the child workflow execution. |
StartChildWorkflowExecutionFailedEventAttributes |
withWorkflowType(WorkflowType workflowType)
The workflow type provided in the
StartChildWorkflowExecution decision that failed. |
private WorkflowType workflowType
The workflow type provided in the
StartChildWorkflowExecution
decision that failed.
private java.lang.String cause
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
private java.lang.String workflowId
The workflowId
of the child workflow execution.
private java.lang.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.
private java.lang.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 cause of events.
private java.lang.String control
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(java.lang.String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. StartChildWorkflowExecutionFailedCause
public java.lang.String getCause()
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
StartChildWorkflowExecutionFailedCause
public StartChildWorkflowExecutionFailedEventAttributes withCause(java.lang.String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. StartChildWorkflowExecutionFailedCause
public void setCause(StartChildWorkflowExecutionFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. StartChildWorkflowExecutionFailedCause
public StartChildWorkflowExecutionFailedEventAttributes withCause(StartChildWorkflowExecutionFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the
system and can be useful for diagnostic purposes. StartChildWorkflowExecutionFailedCause
public void setWorkflowId(java.lang.String workflowId)
The workflowId
of the child workflow execution.
workflowId
- The workflowId
of the child workflow execution.public java.lang.String getWorkflowId()
The workflowId
of the child workflow execution.
workflowId
of the child workflow execution.public StartChildWorkflowExecutionFailedEventAttributes withWorkflowId(java.lang.String workflowId)
The workflowId
of the child workflow execution.
workflowId
- The workflowId
of the child workflow execution.public void setInitiatedEventId(java.lang.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.public java.lang.Long getInitiatedEventId()
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.
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.public StartChildWorkflowExecutionFailedEventAttributes withInitiatedEventId(java.lang.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.public void setDecisionTaskCompletedEventId(java.lang.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 cause 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 cause of events.public java.lang.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 cause 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 cause of events.public StartChildWorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(java.lang.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 cause 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 cause of events.public void setControl(java.lang.String control)
control
- public java.lang.String getControl()
public StartChildWorkflowExecutionFailedEventAttributes withControl(java.lang.String control)
control
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StartChildWorkflowExecutionFailedEventAttributes clone()
clone
in class java.lang.Object