|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.simpleworkflow.model.ActivityTaskScheduledEventAttributes
public class ActivityTaskScheduledEventAttributes
Provides details of the ActivityTaskScheduled
event.
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 |
---|
public ActivityTaskScheduledEventAttributes()
Method Detail |
---|
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 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 Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |