public class WorkflowExecutionCanceledEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the WorkflowExecutionCanceled
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
CancelWorkflowExecution decision for this cancellation
request. |
private java.lang.String |
details
Details for the cancellation (if any).
|
Constructor and Description |
---|
WorkflowExecutionCanceledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionCanceledEventAttributes |
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
CancelWorkflowExecution decision for this cancellation
request. |
java.lang.String |
getDetails()
Details for the cancellation (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
CancelWorkflowExecution decision for this cancellation
request. |
void |
setDetails(java.lang.String details)
Details for the cancellation (if any).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionCanceledEventAttributes |
withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
CancelWorkflowExecution decision for this cancellation
request. |
WorkflowExecutionCanceledEventAttributes |
withDetails(java.lang.String details)
Details for the cancellation (if any).
|
private java.lang.String details
Details for the cancellation (if any).
private java.lang.Long decisionTaskCompletedEventId
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
CancelWorkflowExecution
decision for this cancellation
request. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.
public WorkflowExecutionCanceledEventAttributes()
public void setDetails(java.lang.String details)
Details for the cancellation (if any).
details
- Details for the cancellation (if any).public java.lang.String getDetails()
Details for the cancellation (if any).
public WorkflowExecutionCanceledEventAttributes withDetails(java.lang.String details)
Details for the cancellation (if any).
details
- Details for the cancellation (if any).public void setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
CancelWorkflowExecution
decision for this cancellation
request. 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
CancelWorkflowExecution
decision for this
cancellation request. 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
CancelWorkflowExecution
decision for this cancellation
request. 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
CancelWorkflowExecution
decision for this
cancellation request. This information can be useful for
diagnosing problems by tracing back the chain of events leading
up to this event.public WorkflowExecutionCanceledEventAttributes withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
CancelWorkflowExecution
decision for this cancellation
request. 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
CancelWorkflowExecution
decision for this
cancellation request. 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 WorkflowExecutionCanceledEventAttributes clone()
clone
in class java.lang.Object