public class ActivityTaskCancelRequestedEventAttributes extends Object implements Serializable
Provides details of the ActivityTaskCancelRequested
event.
Constructor and Description |
---|
ActivityTaskCancelRequestedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
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 cause of events.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 cause of events.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 cause of events.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 cause of events.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 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
RequestCancelActivityTask
decision for this cancellation
request. This information can be useful for diagnosing problems by
tracing back the cause of events.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()
Copyright © 2014. All rights reserved.