public class ChildWorkflowExecutionFailedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the ChildWorkflowExecutionFailed
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
details
The details of the failure (if provided).
|
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 |
reason
The reason for the failure (if provided).
|
private java.lang.Long |
startedEventId
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
private WorkflowExecution |
workflowExecution
The child workflow execution that failed.
|
private WorkflowType |
workflowType
The type of the child workflow execution.
|
Constructor and Description |
---|
ChildWorkflowExecutionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ChildWorkflowExecutionFailedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDetails()
The details of the failure (if provided).
|
java.lang.Long |
getInitiatedEventId()
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
java.lang.String |
getReason()
The reason for the failure (if provided).
|
java.lang.Long |
getStartedEventId()
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
WorkflowExecution |
getWorkflowExecution()
The child workflow execution that failed.
|
WorkflowType |
getWorkflowType()
The type of the child workflow execution.
|
int |
hashCode() |
void |
setDetails(java.lang.String details)
The details of the failure (if provided).
|
void |
setInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
void |
setReason(java.lang.String reason)
The reason for the failure (if provided).
|
void |
setStartedEventId(java.lang.Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
void |
setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that failed.
|
void |
setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChildWorkflowExecutionFailedEventAttributes |
withDetails(java.lang.String details)
The details of the failure (if provided).
|
ChildWorkflowExecutionFailedEventAttributes |
withInitiatedEventId(java.lang.Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution decision to
start this child workflow execution. |
ChildWorkflowExecutionFailedEventAttributes |
withReason(java.lang.String reason)
The reason for the failure (if provided).
|
ChildWorkflowExecutionFailedEventAttributes |
withStartedEventId(java.lang.Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted event recorded
when this child workflow execution was started. |
ChildWorkflowExecutionFailedEventAttributes |
withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that failed.
|
ChildWorkflowExecutionFailedEventAttributes |
withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
private WorkflowExecution workflowExecution
The child workflow execution that failed.
private WorkflowType workflowType
The type of the child workflow execution.
private java.lang.String reason
The reason for the failure (if provided).
private java.lang.String details
The details of the failure (if provided).
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 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.
public ChildWorkflowExecutionFailedEventAttributes()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that failed.
workflowExecution
- The child workflow execution that failed.public WorkflowExecution getWorkflowExecution()
The child workflow execution that failed.
public ChildWorkflowExecutionFailedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that failed.
workflowExecution
- The child workflow execution that failed.public void setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.public WorkflowType getWorkflowType()
The type of the child workflow execution.
public ChildWorkflowExecutionFailedEventAttributes withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.public void setReason(java.lang.String reason)
The reason for the failure (if provided).
reason
- The reason for the failure (if provided).public java.lang.String getReason()
The reason for the failure (if provided).
public ChildWorkflowExecutionFailedEventAttributes withReason(java.lang.String reason)
The reason for the failure (if provided).
reason
- The reason for the failure (if provided).public void setDetails(java.lang.String details)
The details of the failure (if provided).
details
- The details of the failure (if provided).public java.lang.String getDetails()
The details of the failure (if provided).
public ChildWorkflowExecutionFailedEventAttributes withDetails(java.lang.String details)
The details of the failure (if provided).
details
- The details of the failure (if provided).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 ChildWorkflowExecutionFailedEventAttributes 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 setStartedEventId(java.lang.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.public java.lang.Long getStartedEventId()
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.
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.public ChildWorkflowExecutionFailedEventAttributes withStartedEventId(java.lang.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.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 ChildWorkflowExecutionFailedEventAttributes clone()
clone
in class java.lang.Object