|
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.ScheduleActivityTaskDecisionAttributes
public class ScheduleActivityTaskDecisionAttributes
Provides details of the ScheduleActivityTask
decision.
Constructor Summary | |
---|---|
ScheduleActivityTaskDecisionAttributes()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getActivityId()
The activityId of the activity task. |
ActivityType |
getActivityType()
The type of the activity task to schedule. |
String |
getControl()
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. |
String |
getHeartbeatTimeout()
If set, specifies the maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. |
String |
getInput()
The input provided to the activity task. |
String |
getScheduleToCloseTimeout()
The maximum duration for this activity task. |
String |
getScheduleToStartTimeout()
If set, specifies the maximum duration the activity task can wait to be assigned to a worker. |
String |
getStartToCloseTimeout()
If set, specifies the maximum duration a worker may take to process this activity task. |
TaskList |
getTaskList()
If set, specifies the name of the task list in which to schedule the activity task. |
int |
hashCode()
|
void |
setActivityId(String activityId)
The activityId of the activity task. |
void |
setActivityType(ActivityType activityType)
The type of the activity task to schedule. |
void |
setControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. |
void |
setHeartbeatTimeout(String heartbeatTimeout)
If set, specifies the maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. |
void |
setInput(String input)
The input provided to the activity task. |
void |
setScheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum duration for this activity task. |
void |
setScheduleToStartTimeout(String scheduleToStartTimeout)
If set, specifies the maximum duration the activity task can wait to be assigned to a worker. |
void |
setStartToCloseTimeout(String startToCloseTimeout)
If set, specifies the maximum duration a worker may take to process this activity task. |
void |
setTaskList(TaskList taskList)
If set, specifies the name of the task list in which to schedule the activity task. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ScheduleActivityTaskDecisionAttributes |
withActivityId(String activityId)
The activityId of the activity task. |
ScheduleActivityTaskDecisionAttributes |
withActivityType(ActivityType activityType)
The type of the activity task to schedule. |
ScheduleActivityTaskDecisionAttributes |
withControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. |
ScheduleActivityTaskDecisionAttributes |
withHeartbeatTimeout(String heartbeatTimeout)
If set, specifies the maximum time before which a worker processing a task of this type must report progress by calling RecordActivityTaskHeartbeat. |
ScheduleActivityTaskDecisionAttributes |
withInput(String input)
The input provided to the activity task. |
ScheduleActivityTaskDecisionAttributes |
withScheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum duration for this activity task. |
ScheduleActivityTaskDecisionAttributes |
withScheduleToStartTimeout(String scheduleToStartTimeout)
If set, specifies the maximum duration the activity task can wait to be assigned to a worker. |
ScheduleActivityTaskDecisionAttributes |
withStartToCloseTimeout(String startToCloseTimeout)
If set, specifies the maximum duration a worker may take to process this activity task. |
ScheduleActivityTaskDecisionAttributes |
withTaskList(TaskList taskList)
If set, specifies the name of the task list in which to schedule the activity task. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScheduleActivityTaskDecisionAttributes()
Method Detail |
---|
public ActivityType getActivityType()
public void setActivityType(ActivityType activityType)
activityType
- The type of the activity task to schedule. This field is required.public ScheduleActivityTaskDecisionAttributes withActivityType(ActivityType activityType)
Returns a reference to this object so that method calls can be chained together.
activityType
- The type of the activity task to schedule. This field is required.
public String getActivityId()
activityId
of the activity task. This field is
required. The specified string must not start or end with
whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
Constraints:
Length: 1 - 256
activityId
of the activity task. This field is
required. The specified string must not start or end with
whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
public void setActivityId(String activityId)
activityId
of the activity task. This field is
required. The specified string must not start or end with
whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
Constraints:
Length: 1 - 256
activityId
- The activityId
of the activity task. This field is
required. The specified string must not start or end with
whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
public ScheduleActivityTaskDecisionAttributes withActivityId(String activityId)
activityId
of the activity task. This field is
required. The specified string must not start or end with
whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
activityId
- The activityId
of the activity task. This field is
required. The specified string must not start or end with
whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
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 ScheduleActivityTaskDecisionAttributes 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 getInput()
Constraints:
Length: 0 - 32768
public void setInput(String input)
Constraints:
Length: 0 - 32768
input
- The input provided to the activity task.public ScheduleActivityTaskDecisionAttributes 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 getScheduleToCloseTimeout()
The valid values are
integers greater than or equal to 0
. An integer value can
be used to specify the duration in seconds while NONE
can
be used to specify unlimited duration.
Constraints:
Length: 0 - 8
The valid values are
integers greater than or equal to 0
. An integer value can
be used to specify the duration in seconds while NONE
can
be used to specify unlimited duration.
public void setScheduleToCloseTimeout(String scheduleToCloseTimeout)
The valid values are
integers greater than or equal to 0
. An integer value can
be used to specify the duration in seconds while NONE
can
be used to specify unlimited duration.
Constraints:
Length: 0 - 8
scheduleToCloseTimeout
- The maximum duration for this activity task. The valid values are
integers greater than or equal to 0
. An integer value can
be used to specify the duration in seconds while NONE
can
be used to specify unlimited duration.
public ScheduleActivityTaskDecisionAttributes withScheduleToCloseTimeout(String scheduleToCloseTimeout)
The valid values are
integers greater than or equal to 0
. An integer value can
be used to specify the duration in seconds while NONE
can
be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
scheduleToCloseTimeout
- The maximum duration for this activity task. The valid values are
integers greater than or equal to 0
. An integer value can
be used to specify the duration in seconds while NONE
can
be used to specify unlimited duration.
public TaskList getTaskList()
defaultTaskList
registered with the activity type will be used. The specified string must not start or end
with whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
defaultTaskList
registered with the activity type will be used. The specified string must not start or end
with whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
public void setTaskList(TaskList taskList)
defaultTaskList
registered with the activity type will be used. The specified string must not start or end
with whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
taskList
- If set, specifies the name of the task list in which to schedule the
activity task. If not specified, the defaultTaskList
registered with the activity type will be used. The specified string must not start or end
with whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
public ScheduleActivityTaskDecisionAttributes withTaskList(TaskList taskList)
defaultTaskList
registered with the activity type will be used. The specified string must not start or end
with whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
Returns a reference to this object so that method calls can be chained together.
taskList
- If set, specifies the name of the task list in which to schedule the
activity task. If not specified, the defaultTaskList
registered with the activity type will be used. The specified string must not start or end
with whitespace. It must not contain a :
(colon),
/
(slash), |
(vertical bar), or any control
characters ( - | - ?). Also, it must not
contain the literal string "arn".
public String getScheduleToStartTimeout()
The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
Constraints:
Length: 0 - 8
The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
public void setScheduleToStartTimeout(String scheduleToStartTimeout)
The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
Constraints:
Length: 0 - 8
scheduleToStartTimeout
- If set, specifies the maximum duration the activity task can wait to
be assigned to a worker. This overrides the default schedule-to-start
timeout specified when registering the activity type using
RegisterActivityType. The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
public ScheduleActivityTaskDecisionAttributes withScheduleToStartTimeout(String scheduleToStartTimeout)
The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
scheduleToStartTimeout
- If set, specifies the maximum duration the activity task can wait to
be assigned to a worker. This overrides the default schedule-to-start
timeout specified when registering the activity type using
RegisterActivityType. The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
public String getStartToCloseTimeout()
The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
Constraints:
Length: 0 - 8
The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
public void setStartToCloseTimeout(String startToCloseTimeout)
The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
Constraints:
Length: 0 - 8
startToCloseTimeout
- If set, specifies the maximum duration a worker may take to process
this activity task. This overrides the default start-to-close timeout
specified when registering the activity type using
RegisterActivityType. The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
public ScheduleActivityTaskDecisionAttributes withStartToCloseTimeout(String startToCloseTimeout)
The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
startToCloseTimeout
- If set, specifies the maximum duration a worker may take to process
this activity task. This overrides the default start-to-close timeout
specified when registering the activity type using
RegisterActivityType. The valid values are integers greater
than or equal to 0
. An integer value can be used to
specify the duration in seconds while NONE
can be used to
specify unlimited duration.
public String getHeartbeatTimeout()
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
public void setHeartbeatTimeout(String heartbeatTimeout)
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
heartbeatTimeout
- If set, specifies the maximum time before which a worker processing a
task of this type 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 returns a result, it will be
ignored. This overrides the default heartbeat timeout specified when
registering the activity type using RegisterActivityType.
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
public ScheduleActivityTaskDecisionAttributes withHeartbeatTimeout(String heartbeatTimeout)
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
heartbeatTimeout
- If set, specifies the maximum time before which a worker processing a
task of this type 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 returns a result, it will be
ignored. This overrides the default heartbeat timeout specified when
registering the activity type using RegisterActivityType.
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
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 |