public class ActivityTaskScheduledEventAttributes extends Object implements Serializable, Cloneable
 Provides details of the ActivityTaskScheduled event.
 
| Constructor and Description | 
|---|
| ActivityTaskScheduledEventAttributes() | 
| Modifier and Type | Method and Description | 
|---|---|
| ActivityTaskScheduledEventAttributes | clone() | 
| 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  DecisionTaskCompletedevent 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. | 
| String | getTaskPriority()Optional. The priority to assign to the scheduled activity
 task. | 
| 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  DecisionTaskCompletedevent 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. | 
| void | setTaskPriority(String taskPriority)Optional. The priority to assign to the scheduled activity
 task. | 
| 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  DecisionTaskCompletedevent 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. | 
| ActivityTaskScheduledEventAttributes | withTaskPriority(String taskPriority)Optional. The priority to assign to the scheduled activity
 task. | 
public ActivityTaskScheduledEventAttributes()
public ActivityType getActivityType()
public void setActivityType(ActivityType activityType)
activityType - The type of the activity task.public ActivityTaskScheduledEventAttributes withActivityType(ActivityType activityType)
Returns a reference to this object so that method calls can be chained together.
activityType - The type of the activity task.public String getActivityId()
 Constraints:
 Length: 1 - 256
public void setActivityId(String activityId)
 Constraints:
 Length: 1 - 256
activityId - The unique id of the activity task.public ActivityTaskScheduledEventAttributes withActivityId(String activityId)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 256
activityId - The unique id of the activity task.public String getInput()
 Constraints:
 Length: 0 - 32768
public void setInput(String input)
 Constraints:
 Length: 0 - 32768
input - The input provided to the activity task.public ActivityTaskScheduledEventAttributes withInput(String input)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 32768
input - The input provided to the activity task.public String getControl()
 Constraints:
 Length: 0 - 32768
public void setControl(String control)
 Constraints:
 Length: 0 - 32768
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.public ActivityTaskScheduledEventAttributes withControl(String control)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 32768
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.public String getScheduleToStartTimeout()
 Constraints:
 Length: 0 - 8
public void setScheduleToStartTimeout(String scheduleToStartTimeout)
 Constraints:
 Length: 0 - 8
scheduleToStartTimeout - The maximum amount of time the activity task can wait to be assigned
         to a worker.public ActivityTaskScheduledEventAttributes withScheduleToStartTimeout(String scheduleToStartTimeout)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 8
scheduleToStartTimeout - The maximum amount of time the activity task can wait to be assigned
         to a worker.public String getScheduleToCloseTimeout()
 Constraints:
 Length: 0 - 8
public void setScheduleToCloseTimeout(String scheduleToCloseTimeout)
 Constraints:
 Length: 0 - 8
scheduleToCloseTimeout - The maximum amount of time for this activity task.public ActivityTaskScheduledEventAttributes withScheduleToCloseTimeout(String scheduleToCloseTimeout)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 8
scheduleToCloseTimeout - The maximum amount of time for this activity task.public String getStartToCloseTimeout()
 Constraints:
 Length: 0 - 8
public void setStartToCloseTimeout(String startToCloseTimeout)
 Constraints:
 Length: 0 - 8
startToCloseTimeout - The maximum amount of time a worker may take to process the activity
         task.public ActivityTaskScheduledEventAttributes withStartToCloseTimeout(String startToCloseTimeout)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 8
startToCloseTimeout - The maximum amount of time a worker may take to process the activity
         task.public TaskList getTaskList()
public void setTaskList(TaskList taskList)
taskList - The task list in which the activity task has been scheduled.public ActivityTaskScheduledEventAttributes withTaskList(TaskList taskList)
Returns a reference to this object so that method calls can be chained together.
taskList - The task list in which the activity task has been scheduled.public String getTaskPriority()
Valid values are
 integers that range from Java's Integer.MIN_VALUE
 (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
 numbers indicate higher priority. 
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
 Constraints:
 Length: 0 - 11
Valid values are
         integers that range from Java's Integer.MIN_VALUE
         (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
         numbers indicate higher priority. 
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
public void setTaskPriority(String taskPriority)
Valid values are
 integers that range from Java's Integer.MIN_VALUE
 (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
 numbers indicate higher priority. 
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
 Constraints:
 Length: 0 - 11
taskPriority - Optional. The priority to assign to the scheduled activity
         task. This will override any default priority that was assigned when
         the activity type was registered. If not set, then the priority set on
         the activity type is used as the task priority. Valid values are
         integers that range from Java's Integer.MIN_VALUE
         (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
         numbers indicate higher priority. 
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
public ActivityTaskScheduledEventAttributes withTaskPriority(String taskPriority)
Valid values are
 integers that range from Java's Integer.MIN_VALUE
 (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
 numbers indicate higher priority. 
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 11
taskPriority - Optional. The priority to assign to the scheduled activity
         task. This will override any default priority that was assigned when
         the activity type was registered. If not set, then the priority set on
         the activity type is used as the task priority. Valid values are
         integers that range from Java's Integer.MIN_VALUE
         (-2147483648) to Integer.MAX_VALUE (2147483647). Higher
         numbers indicate higher priority. 
For more information about setting task priority, see Setting Task Priority in the Amazon Simple Workflow Developer Guide.
public Long getDecisionTaskCompletedEventId()
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.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.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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.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.public ActivityTaskScheduledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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.
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.public String getHeartbeatTimeout()
 Constraints:
 Length: 0 - 8
public void setHeartbeatTimeout(String heartbeatTimeout)
 Constraints:
 Length: 0 - 8
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.public ActivityTaskScheduledEventAttributes withHeartbeatTimeout(String heartbeatTimeout)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 8
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.public String toString()
toString in class ObjectObject.toString()public ActivityTaskScheduledEventAttributes clone()
Copyright © 2015. All rights reserved.