public class ActivityTaskCancelRequestedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the ActivityTaskCancelRequested
event.
Constructor and Description |
---|
ActivityTaskCancelRequestedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskCancelRequestedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getActivityId()
The unique ID of the task.
|
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(String activityId)
The unique ID of the task.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTaskCancelRequestedEventAttributes |
withActivityId(String activityId)
The unique ID of the task.
|
ActivityTaskCancelRequestedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelActivityTask decision for this cancellation
request. |
public ActivityTaskCancelRequestedEventAttributes()
public Long getDecisionTaskCompletedEventId()
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 void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 ActivityTaskCancelRequestedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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.
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
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 String getActivityId()
Constraints:
Length: 1 - 256
public void setActivityId(String activityId)
Constraints:
Length: 1 - 256
activityId
- The unique ID of the task.public ActivityTaskCancelRequestedEventAttributes withActivityId(String activityId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
activityId
- The unique ID of the task.public String toString()
toString
in class Object
Object.toString()
public ActivityTaskCancelRequestedEventAttributes clone()
Copyright © 2015. All rights reserved.