public class WorkflowExecutionFailedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the WorkflowExecutionFailed
event.
Constructor and Description |
---|
WorkflowExecutionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionFailedEventAttributes |
clone() |
boolean |
equals(Object obj) |
Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the FailWorkflowExecution
decision to fail this execution. |
String |
getDetails()
The details of the failure (if any).
|
String |
getReason()
The descriptive reason provided for the failure (if any).
|
int |
hashCode() |
void |
setDecisionTaskCompletedEventId(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(String details)
The details of the failure (if any).
|
void |
setReason(String reason)
The descriptive reason provided for the failure (if any).
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionFailedEventAttributes |
withDecisionTaskCompletedEventId(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(String details)
The details of the failure (if any).
|
WorkflowExecutionFailedEventAttributes |
withReason(String reason)
The descriptive reason provided for the failure (if any).
|
public WorkflowExecutionFailedEventAttributes()
public void setReason(String reason)
The descriptive reason provided for the failure (if any).
reason
- The descriptive reason provided for the failure (if any).public String getReason()
The descriptive reason provided for the failure (if any).
public WorkflowExecutionFailedEventAttributes withReason(String reason)
The descriptive reason provided for the failure (if any).
reason
- The descriptive reason provided for the failure (if any).public void setDetails(String details)
The details of the failure (if any).
details
- The details of the failure (if any).public String getDetails()
The details of the failure (if any).
public WorkflowExecutionFailedEventAttributes withDetails(String details)
The details of the failure (if any).
details
- The details of the failure (if any).public void setDecisionTaskCompletedEventId(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 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(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 String toString()
toString
in class Object
Object.toString()
public WorkflowExecutionFailedEventAttributes clone()
Copyright © 2018. All rights reserved.