@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityTaskCompletedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of the ActivityTaskCompleted
event.
Constructor and Description |
---|
ActivityTaskCompletedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskCompletedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getResult()
The results of the activity task.
|
Long |
getScheduledEventId()
The ID of the
ActivityTaskScheduled event that was recorded when this activity task was scheduled. |
Long |
getStartedEventId()
The ID of the
ActivityTaskStarted event recorded when this activity task was started. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResult(String result)
The results of the activity task.
|
void |
setScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded when this activity task was scheduled. |
void |
setStartedEventId(Long startedEventId)
The ID of the
ActivityTaskStarted event recorded when this activity task was started. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ActivityTaskCompletedEventAttributes |
withResult(String result)
The results of the activity task.
|
ActivityTaskCompletedEventAttributes |
withScheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduled event that was recorded when this activity task was scheduled. |
ActivityTaskCompletedEventAttributes |
withStartedEventId(Long startedEventId)
The ID of the
ActivityTaskStarted event recorded when this activity task was started. |
public ActivityTaskCompletedEventAttributes()
public void setResult(String result)
The results of the activity task.
result
- The results of the activity task.public String getResult()
The results of the activity task.
public ActivityTaskCompletedEventAttributes withResult(String result)
The results of the activity task.
result
- The results of the activity task.public void setScheduledEventId(Long scheduledEventId)
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled.
This information can be useful for diagnosing problems by tracing back the chain of events leading up to this
event.
scheduledEventId
- The ID of the ActivityTaskScheduled
event that was recorded when this activity task was
scheduled. This information can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.public Long getScheduledEventId()
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled.
This information can be useful for diagnosing problems by tracing back the chain of events leading up to this
event.
ActivityTaskScheduled
event that was recorded when this activity task was
scheduled. This information can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.public ActivityTaskCompletedEventAttributes withScheduledEventId(Long scheduledEventId)
The ID of the ActivityTaskScheduled
event that was recorded when this activity task was scheduled.
This information can be useful for diagnosing problems by tracing back the chain of events leading up to this
event.
scheduledEventId
- The ID of the ActivityTaskScheduled
event that was recorded when this activity task was
scheduled. This information can be useful for diagnosing problems by tracing back the chain of events
leading up to this event.public void setStartedEventId(Long startedEventId)
The ID of the ActivityTaskStarted
event recorded when this activity task was started. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
startedEventId
- The ID of the ActivityTaskStarted
event recorded when this activity task was started. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to this
event.public Long getStartedEventId()
The ID of the ActivityTaskStarted
event recorded when this activity task was started. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
ActivityTaskStarted
event recorded when this activity task was started. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to this
event.public ActivityTaskCompletedEventAttributes withStartedEventId(Long startedEventId)
The ID of the ActivityTaskStarted
event recorded when this activity task was started. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
startedEventId
- The ID of the ActivityTaskStarted
event recorded when this activity task was started. This
information can be useful for diagnosing problems by tracing back the chain of events leading up to this
event.public String toString()
toString
in class Object
Object.toString()
public ActivityTaskCompletedEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.