@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityTaskCancelRequestedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 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. 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 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(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(String activityId)
The unique ID of the task.
activityId
- The unique ID of the task.public String getActivityId()
The unique ID of the task.
public ActivityTaskCancelRequestedEventAttributes withActivityId(String activityId)
The unique ID of the task.
activityId
- The unique ID of the task.public String toString()
toString
in class Object
Object.toString()
public ActivityTaskCancelRequestedEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.