public class WorkflowExecutionFailedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the WorkflowExecutionFailed
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
decisionTaskCompletedEventId
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. |
private java.lang.String |
details
The details of the failure (if any).
|
private java.lang.String |
reason
The descriptive reason provided for the failure (if any).
|
Constructor and Description |
---|
WorkflowExecutionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionFailedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. |
java.lang.String |
getDetails()
The details of the failure (if any).
|
java.lang.String |
getReason()
The descriptive reason provided for the failure (if any).
|
int |
hashCode() |
void |
setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. |
void |
setDetails(java.lang.String details)
The details of the failure (if any).
|
void |
setReason(java.lang.String reason)
The descriptive reason provided for the failure (if any).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionFailedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. |
WorkflowExecutionFailedEventAttributes |
withDetails(java.lang.String details)
The details of the failure (if any).
|
WorkflowExecutionFailedEventAttributes |
withReason(java.lang.String reason)
The descriptive reason provided for the failure (if any).
|
private java.lang.String reason
The descriptive reason provided for the failure (if any).
private java.lang.String details
The details of the failure (if any).
private java.lang.Long decisionTaskCompletedEventId
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
public WorkflowExecutionFailedEventAttributes()
public void setReason(java.lang.String reason)
The descriptive reason provided for the failure (if any).
reason
- The descriptive reason provided for the failure (if any).public java.lang.String getReason()
The descriptive reason provided for the failure (if any).
public WorkflowExecutionFailedEventAttributes withReason(java.lang.String reason)
The descriptive reason provided for the failure (if any).
reason
- The descriptive reason provided for the failure (if any).public void setDetails(java.lang.String details)
The details of the failure (if any).
details
- The details of the failure (if any).public java.lang.String getDetails()
The details of the failure (if any).
public WorkflowExecutionFailedEventAttributes withDetails(java.lang.String details)
The details of the failure (if any).
details
- The details of the failure (if any).public void setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event
corresponding to the decision task that resulted in the
FailWorkflowExecution
decision to fail this
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 getDecisionTaskCompletedEventId()
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
DecisionTaskCompleted
event
corresponding to the decision task that resulted in the
FailWorkflowExecution
decision to fail this
execution. This information can be useful for diagnosing problems
by tracing back the chain of events leading up to this event.public WorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event
corresponding to the decision task that resulted in the
FailWorkflowExecution
decision to fail this
execution. 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 WorkflowExecutionFailedEventAttributes clone()
clone
in class java.lang.Object