public class ChildWorkflowExecutionFailedEventAttributes extends Object implements Serializable
Provides details of the ChildWorkflowExecutionFailed
event.
Constructor and Description |
---|
ChildWorkflowExecutionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDetails()
The details of the failure (if provided).
|
Long |
getInitiatedEventId()
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this child workflow execution. |
String |
getReason()
The reason for the failure (if provided).
|
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(String details)
The details of the failure (if provided).
|
void |
setInitiatedEventId(Long initiatedEventId)
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this child workflow execution. |
void |
setReason(String reason)
The reason for the failure (if provided).
|
void |
setStartedEventId(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChildWorkflowExecutionFailedEventAttributes |
withDetails(String details)
The details of the failure (if provided).
|
ChildWorkflowExecutionFailedEventAttributes |
withInitiatedEventId(Long initiatedEventId)
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this child workflow execution. |
ChildWorkflowExecutionFailedEventAttributes |
withReason(String reason)
The reason for the failure (if provided).
|
ChildWorkflowExecutionFailedEventAttributes |
withStartedEventId(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.
|
public ChildWorkflowExecutionFailedEventAttributes()
public WorkflowExecution getWorkflowExecution()
public void setWorkflowExecution(WorkflowExecution workflowExecution)
workflowExecution
- The child workflow execution that failed.public ChildWorkflowExecutionFailedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
Returns a reference to this object so that method calls can be chained together.
workflowExecution
- The child workflow execution that failed.public WorkflowType getWorkflowType()
public void setWorkflowType(WorkflowType workflowType)
workflowType
- The type of the child workflow execution.public ChildWorkflowExecutionFailedEventAttributes withWorkflowType(WorkflowType workflowType)
Returns a reference to this object so that method calls can be chained together.
workflowType
- The type of the child workflow execution.public String getReason()
Constraints:
Length: 0 - 256
public void setReason(String reason)
Constraints:
Length: 0 - 256
reason
- The reason for the failure (if provided).public ChildWorkflowExecutionFailedEventAttributes withReason(String reason)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
reason
- The reason for the failure (if provided).public String getDetails()
Constraints:
Length: 0 - 32768
public void setDetails(String details)
Constraints:
Length: 0 - 32768
details
- The details of the failure (if provided).public ChildWorkflowExecutionFailedEventAttributes withDetails(String details)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
details
- The details of the failure (if provided).public Long getInitiatedEventId()
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 void setInitiatedEventId(Long initiatedEventId)
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 ChildWorkflowExecutionFailedEventAttributes withInitiatedEventId(Long initiatedEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 Long getStartedEventId()
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 void setStartedEventId(Long startedEventId)
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 ChildWorkflowExecutionFailedEventAttributes withStartedEventId(Long startedEventId)
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.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.