public class WorkflowExecutionFailedEventAttributes extends Object implements Serializable
Provides details of the WorkflowExecutionFailed
event.
Constructor and Description |
---|
WorkflowExecutionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
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 String getReason()
Constraints:
Length: 0 - 256
public void setReason(String reason)
Constraints:
Length: 0 - 256
reason
- The descriptive reason provided for the failure (if any).public WorkflowExecutionFailedEventAttributes withReason(String reason)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
reason
- The descriptive reason provided for the failure (if any).public String getDetails()
Constraints:
Length: 0 - 32768
public void setDetails(String details)
Constraints:
Length: 0 - 32768
details
- The details of the failure (if any).public WorkflowExecutionFailedEventAttributes 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 any).public Long getDecisionTaskCompletedEventId()
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 cause of events.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 cause of events.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 cause of events.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 cause of events.public WorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 cause of events.
Returns a reference to this object so that method calls can be chained together.
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 cause of events.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.