Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ActivityTaskStartedEventAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.ActivityTaskStartedEventAttributes
All Implemented Interfaces:
Serializable

public class ActivityTaskStartedEventAttributes
extends Object
implements Serializable

Provides details of the ActivityTaskStarted event.

See Also:
Serialized Form

Constructor Summary
ActivityTaskStartedEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getIdentity()
          Identity of the worker that was assigned this task.
 Long getScheduledEventId()
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 int hashCode()
           
 void setIdentity(String identity)
          Identity of the worker that was assigned this task.
 void setScheduledEventId(Long scheduledEventId)
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ActivityTaskStartedEventAttributes withIdentity(String identity)
          Identity of the worker that was assigned this task.
 ActivityTaskStartedEventAttributes withScheduledEventId(Long scheduledEventId)
          The id of the ActivityTaskScheduled event that was recorded when this activity task was scheduled.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityTaskStartedEventAttributes

public ActivityTaskStartedEventAttributes()
Method Detail

getIdentity

public String getIdentity()
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

Constraints:
Length: 0 - 256

Returns:
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

setIdentity

public void setIdentity(String identity)
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

Constraints:
Length: 0 - 256

Parameters:
identity - Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

withIdentity

public ActivityTaskStartedEventAttributes withIdentity(String identity)
Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.

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

Constraints:
Length: 0 - 256

Parameters:
identity - Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined.
Returns:
A reference to this updated object so that method calls can be chained together.

getScheduledEventId

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.

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(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 ActivityTaskStartedEventAttributes 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.

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.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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