Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ActivityTaskScheduledEventAttributes

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

public class ActivityTaskScheduledEventAttributes
extends Object
implements Serializable

Provides details of the ActivityTaskScheduled event.

See Also:
Serialized Form

Constructor Summary
ActivityTaskScheduledEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getActivityId()
          The unique id of the activity task.
 ActivityType getActivityType()
          The type of the activity task.
 String getControl()
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 Long getDecisionTaskCompletedEventId()
          The id of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task.
 String getHeartbeatTimeout()
          The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat.
 String getInput()
          The input provided to the activity task.
 String getScheduleToCloseTimeout()
          The maximum amount of time for this activity task.
 String getScheduleToStartTimeout()
          The maximum amount of time the activity task can wait to be assigned to a worker.
 String getStartToCloseTimeout()
          The maximum amount of time a worker may take to process the activity task.
 TaskList getTaskList()
          The task list in which the activity task has been scheduled.
 int hashCode()
           
 void setActivityId(String activityId)
          The unique id of the activity task.
 void setActivityType(ActivityType activityType)
          The type of the activity task.
 void setControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task.
 void setHeartbeatTimeout(String heartbeatTimeout)
          The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat.
 void setInput(String input)
          The input provided to the activity task.
 void setScheduleToCloseTimeout(String scheduleToCloseTimeout)
          The maximum amount of time for this activity task.
 void setScheduleToStartTimeout(String scheduleToStartTimeout)
          The maximum amount of time the activity task can wait to be assigned to a worker.
 void setStartToCloseTimeout(String startToCloseTimeout)
          The maximum amount of time a worker may take to process the activity task.
 void setTaskList(TaskList taskList)
          The task list in which the activity task has been scheduled.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ActivityTaskScheduledEventAttributes withActivityId(String activityId)
          The unique id of the activity task.
 ActivityTaskScheduledEventAttributes withActivityType(ActivityType activityType)
          The type of the activity task.
 ActivityTaskScheduledEventAttributes withControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 ActivityTaskScheduledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
          The id of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task.
 ActivityTaskScheduledEventAttributes withHeartbeatTimeout(String heartbeatTimeout)
          The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat.
 ActivityTaskScheduledEventAttributes withInput(String input)
          The input provided to the activity task.
 ActivityTaskScheduledEventAttributes withScheduleToCloseTimeout(String scheduleToCloseTimeout)
          The maximum amount of time for this activity task.
 ActivityTaskScheduledEventAttributes withScheduleToStartTimeout(String scheduleToStartTimeout)
          The maximum amount of time the activity task can wait to be assigned to a worker.
 ActivityTaskScheduledEventAttributes withStartToCloseTimeout(String startToCloseTimeout)
          The maximum amount of time a worker may take to process the activity task.
 ActivityTaskScheduledEventAttributes withTaskList(TaskList taskList)
          The task list in which the activity task has been scheduled.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityTaskScheduledEventAttributes

public ActivityTaskScheduledEventAttributes()
Method Detail

getActivityType

public ActivityType getActivityType()
The type of the activity task.

Returns:
The type of the activity task.

setActivityType

public void setActivityType(ActivityType activityType)
The type of the activity task.

Parameters:
activityType - The type of the activity task.

withActivityType

public ActivityTaskScheduledEventAttributes withActivityType(ActivityType activityType)
The type of the activity task.

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

Parameters:
activityType - The type of the activity task.
Returns:
A reference to this updated object so that method calls can be chained together.

getActivityId

public String getActivityId()
The unique id of the activity task.

Constraints:
Length: 1 - 256

Returns:
The unique id of the activity task.

setActivityId

public void setActivityId(String activityId)
The unique id of the activity task.

Constraints:
Length: 1 - 256

Parameters:
activityId - The unique id of the activity task.

withActivityId

public ActivityTaskScheduledEventAttributes withActivityId(String activityId)
The unique id of the activity task.

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

Constraints:
Length: 1 - 256

Parameters:
activityId - The unique id of the activity task.
Returns:
A reference to this updated object so that method calls can be chained together.

getInput

public String getInput()
The input provided to the activity task.

Constraints:
Length: 0 - 32768

Returns:
The input provided to the activity task.

setInput

public void setInput(String input)
The input provided to the activity task.

Constraints:
Length: 0 - 32768

Parameters:
input - The input provided to the activity task.

withInput

public ActivityTaskScheduledEventAttributes withInput(String input)
The input provided to the activity task.

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

Constraints:
Length: 0 - 32768

Parameters:
input - The input provided to the activity task.
Returns:
A reference to this updated object so that method calls can be chained together.

getControl

public String getControl()
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

Constraints:
Length: 0 - 32768

Returns:
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

setControl

public void setControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

withControl

public ActivityTaskScheduledEventAttributes withControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.

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

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.
Returns:
A reference to this updated object so that method calls can be chained together.

getScheduleToStartTimeout

public String getScheduleToStartTimeout()
The maximum amount of time the activity task can wait to be assigned to a worker.

Constraints:
Length: 0 - 8

Returns:
The maximum amount of time the activity task can wait to be assigned to a worker.

setScheduleToStartTimeout

public void setScheduleToStartTimeout(String scheduleToStartTimeout)
The maximum amount of time the activity task can wait to be assigned to a worker.

Constraints:
Length: 0 - 8

Parameters:
scheduleToStartTimeout - The maximum amount of time the activity task can wait to be assigned to a worker.

withScheduleToStartTimeout

public ActivityTaskScheduledEventAttributes withScheduleToStartTimeout(String scheduleToStartTimeout)
The maximum amount of time the activity task can wait to be assigned to a worker.

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

Constraints:
Length: 0 - 8

Parameters:
scheduleToStartTimeout - The maximum amount of time the activity task can wait to be assigned to a worker.
Returns:
A reference to this updated object so that method calls can be chained together.

getScheduleToCloseTimeout

public String getScheduleToCloseTimeout()
The maximum amount of time for this activity task.

Constraints:
Length: 0 - 8

Returns:
The maximum amount of time for this activity task.

setScheduleToCloseTimeout

public void setScheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum amount of time for this activity task.

Constraints:
Length: 0 - 8

Parameters:
scheduleToCloseTimeout - The maximum amount of time for this activity task.

withScheduleToCloseTimeout

public ActivityTaskScheduledEventAttributes withScheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum amount of time for this activity task.

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

Constraints:
Length: 0 - 8

Parameters:
scheduleToCloseTimeout - The maximum amount of time for this activity task.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartToCloseTimeout

public String getStartToCloseTimeout()
The maximum amount of time a worker may take to process the activity task.

Constraints:
Length: 0 - 8

Returns:
The maximum amount of time a worker may take to process the activity task.

setStartToCloseTimeout

public void setStartToCloseTimeout(String startToCloseTimeout)
The maximum amount of time a worker may take to process the activity task.

Constraints:
Length: 0 - 8

Parameters:
startToCloseTimeout - The maximum amount of time a worker may take to process the activity task.

withStartToCloseTimeout

public ActivityTaskScheduledEventAttributes withStartToCloseTimeout(String startToCloseTimeout)
The maximum amount of time a worker may take to process the activity task.

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

Constraints:
Length: 0 - 8

Parameters:
startToCloseTimeout - The maximum amount of time a worker may take to process the activity task.
Returns:
A reference to this updated object so that method calls can be chained together.

getTaskList

public TaskList getTaskList()
The task list in which the activity task has been scheduled.

Returns:
The task list in which the activity task has been scheduled.

setTaskList

public void setTaskList(TaskList taskList)
The task list in which the activity task has been scheduled.

Parameters:
taskList - The task list in which the activity task has been scheduled.

withTaskList

public ActivityTaskScheduledEventAttributes withTaskList(TaskList taskList)
The task list in which the activity task has been scheduled.

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

Parameters:
taskList - The task list in which the activity task has been scheduled.
Returns:
A reference to this updated object so that method calls can be chained together.

getDecisionTaskCompletedEventId

public Long getDecisionTaskCompletedEventId()
The id of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. 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 DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

setDecisionTaskCompletedEventId

public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Parameters:
decisionTaskCompletedEventId - The id of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withDecisionTaskCompletedEventId

public ActivityTaskScheduledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. 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:
decisionTaskCompletedEventId - The id of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. 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.

getHeartbeatTimeout

public String getHeartbeatTimeout()
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it will be ignored.

Constraints:
Length: 0 - 8

Returns:
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it will be ignored.

setHeartbeatTimeout

public void setHeartbeatTimeout(String heartbeatTimeout)
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it will be ignored.

Constraints:
Length: 0 - 8

Parameters:
heartbeatTimeout - The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it will be ignored.

withHeartbeatTimeout

public ActivityTaskScheduledEventAttributes withHeartbeatTimeout(String heartbeatTimeout)
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it will be ignored.

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

Constraints:
Length: 0 - 8

Parameters:
heartbeatTimeout - The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it will be ignored.
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.