public class WorkflowExecutionCompletedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the WorkflowExecutionCompleted
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
CompleteWorkflowExecution decision to complete this
execution. |
private java.lang.String |
result
The result produced by the workflow execution upon successful completion.
|
Constructor and Description |
---|
WorkflowExecutionCompletedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionCompletedEventAttributes |
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
CompleteWorkflowExecution decision to complete this
execution. |
java.lang.String |
getResult()
The result produced by the workflow execution upon successful completion.
|
int |
hashCode() |
void |
setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
CompleteWorkflowExecution decision to complete this
execution. |
void |
setResult(java.lang.String result)
The result produced by the workflow execution upon successful completion.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionCompletedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
CompleteWorkflowExecution decision to complete this
execution. |
WorkflowExecutionCompletedEventAttributes |
withResult(java.lang.String result)
The result produced by the workflow execution upon successful completion.
|
private java.lang.String result
The result produced by the workflow execution upon successful completion.
private java.lang.Long decisionTaskCompletedEventId
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
CompleteWorkflowExecution
decision to complete this
execution. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.
public WorkflowExecutionCompletedEventAttributes()
public void setResult(java.lang.String result)
The result produced by the workflow execution upon successful completion.
result
- The result produced by the workflow execution upon successful
completion.public java.lang.String getResult()
The result produced by the workflow execution upon successful completion.
public WorkflowExecutionCompletedEventAttributes withResult(java.lang.String result)
The result produced by the workflow execution upon successful completion.
result
- The result produced by the workflow execution upon successful
completion.public void setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
CompleteWorkflowExecution
decision to complete 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
CompleteWorkflowExecution
decision to complete 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
CompleteWorkflowExecution
decision to complete 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
CompleteWorkflowExecution
decision to complete this
execution. This information can be useful for diagnosing problems
by tracing back the chain of events leading up to this event.public WorkflowExecutionCompletedEventAttributes withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
CompleteWorkflowExecution
decision to complete 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
CompleteWorkflowExecution
decision to complete 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 WorkflowExecutionCompletedEventAttributes clone()
clone
in class java.lang.Object