public class ActivityTaskCancelRequestedEventAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides details of the ActivityTaskCancelRequested
event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
activityId
The unique ID of the task.
|
private java.lang.Long |
decisionTaskCompletedEventId
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. |
Constructor and Description |
---|
ActivityTaskCancelRequestedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskCancelRequestedEventAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActivityId()
The unique ID of the task.
|
java.lang.Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. |
int |
hashCode() |
void |
setActivityId(java.lang.String activityId)
The unique ID of the task.
|
void |
setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskCancelRequestedEventAttributes |
withActivityId(java.lang.String activityId)
The unique ID of the task.
|
ActivityTaskCancelRequestedEventAttributes |
withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to
the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. |
private java.lang.Long decisionTaskCompletedEventId
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
RequestCancelActivityTask
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.
private java.lang.String activityId
The unique ID of the task.
public ActivityTaskCancelRequestedEventAttributes()
public void setDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
RequestCancelActivityTask
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
RequestCancelActivityTask
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
RequestCancelActivityTask
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
RequestCancelActivityTask
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 ActivityTaskCancelRequestedEventAttributes withDecisionTaskCompletedEventId(java.lang.Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to
the decision task that resulted in the
RequestCancelActivityTask
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
RequestCancelActivityTask
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 void setActivityId(java.lang.String activityId)
The unique ID of the task.
activityId
- The unique ID of the task.public java.lang.String getActivityId()
The unique ID of the task.
public ActivityTaskCancelRequestedEventAttributes withActivityId(java.lang.String activityId)
The unique ID of the task.
activityId
- The unique ID of the task.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 ActivityTaskCancelRequestedEventAttributes clone()
clone
in class java.lang.Object