Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ActivityTaskCompletedEventAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.ActivityTaskCompletedEventAttributes

public class ActivityTaskCompletedEventAttributes
extends java.lang.Object

Provides details of the ActivityTaskCompleted event.


Constructor Summary
ActivityTaskCompletedEventAttributes()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getResult()
          The results of the activity task (if any).
 java.lang.Long getScheduledEventId()
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 java.lang.Long getStartedEventId()
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 int hashCode()
           
 void setResult(java.lang.String result)
          The results of the activity task (if any).
 void setScheduledEventId(java.lang.Long scheduledEventId)
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 void setStartedEventId(java.lang.Long startedEventId)
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ActivityTaskCompletedEventAttributes withResult(java.lang.String result)
          The results of the activity task (if any).
 ActivityTaskCompletedEventAttributes withScheduledEventId(java.lang.Long scheduledEventId)
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 ActivityTaskCompletedEventAttributes withStartedEventId(java.lang.Long startedEventId)
          The Id of the ActivityTaskStarted event recorded when this activity task was started.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityTaskCompletedEventAttributes

public ActivityTaskCompletedEventAttributes()
Method Detail

getResult

public java.lang.String getResult()
The results of the activity task (if any).

Constraints:
Length: 0 - 32768

Returns:
The results of the activity task (if any).

setResult

public void setResult(java.lang.String result)
The results of the activity task (if any).

Constraints:
Length: 0 - 32768

Parameters:
result - The results of the activity task (if any).

withResult

public ActivityTaskCompletedEventAttributes withResult(java.lang.String result)
The results of the activity task (if any).

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32768

Parameters:
result - The results of the activity task (if any).
Returns:
A reference to this updated object so that method calls can be chained together.

getScheduledEventId

public java.lang.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.

Returns:
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.

setScheduledEventId

public void setScheduledEventId(java.lang.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.

Parameters:
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.

withScheduledEventId

public ActivityTaskCompletedEventAttributes withScheduledEventId(java.lang.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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartedEventId

public java.lang.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.

Returns:
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.

setStartedEventId

public void setStartedEventId(java.lang.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.

Parameters:
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.

withStartedEventId

public ActivityTaskCompletedEventAttributes withStartedEventId(java.lang.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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.