public class WorkflowExecutionCompletedEventAttributes extends Object implements Serializable
Provides details of the WorkflowExecutionCompleted
event.
Constructor and Description |
---|
WorkflowExecutionCompletedEventAttributes() |
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
CompleteWorkflowExecution decision to complete this
execution. |
String |
getResult()
The result produced by the workflow execution upon successful
completion.
|
int |
hashCode() |
void |
setDecisionTaskCompletedEventId(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(String result)
The result produced by the workflow execution upon successful
completion.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionCompletedEventAttributes |
withDecisionTaskCompletedEventId(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(String result)
The result produced by the workflow execution upon successful
completion.
|
public WorkflowExecutionCompletedEventAttributes()
public String getResult()
Constraints:
Length: 0 - 32768
public void setResult(String result)
Constraints:
Length: 0 - 32768
result
- The result produced by the workflow execution upon successful
completion.public WorkflowExecutionCompletedEventAttributes withResult(String result)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
result
- The result produced by the workflow execution upon successful
completion.public Long getDecisionTaskCompletedEventId()
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 cause of events.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 cause of events.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 cause of events.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 cause of events.public WorkflowExecutionCompletedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 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
CompleteWorkflowExecution
decision to complete 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 © 2015. All rights reserved.