CopyableBuilder<ScheduleActivityTaskDecisionAttributes.Builder,ScheduleActivityTaskDecisionAttributes>
, SdkBuilder<ScheduleActivityTaskDecisionAttributes.Builder,ScheduleActivityTaskDecisionAttributes>
public static interface ScheduleActivityTaskDecisionAttributes.Builder extends CopyableBuilder<ScheduleActivityTaskDecisionAttributes.Builder,ScheduleActivityTaskDecisionAttributes>
Modifier and Type | Method | Description |
---|---|---|
ScheduleActivityTaskDecisionAttributes.Builder |
activityId(String activityId) |
Required. The
activityId of the activity task. |
ScheduleActivityTaskDecisionAttributes.Builder |
activityType(ActivityType activityType) |
Required. The type of the activity task to schedule.
|
ScheduleActivityTaskDecisionAttributes.Builder |
control(String control) |
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
|
ScheduleActivityTaskDecisionAttributes.Builder |
heartbeatTimeout(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.Builder |
input(String input) |
The input provided to the activity task.
|
ScheduleActivityTaskDecisionAttributes.Builder |
scheduleToCloseTimeout(String scheduleToCloseTimeout) |
The maximum duration for this activity task.
|
ScheduleActivityTaskDecisionAttributes.Builder |
scheduleToStartTimeout(String scheduleToStartTimeout) |
Optional. If set, specifies the maximum duration the activity task can wait to be assigned to a
worker.
|
ScheduleActivityTaskDecisionAttributes.Builder |
startToCloseTimeout(String startToCloseTimeout) |
If set, specifies the maximum duration a worker may take to process this activity task.
|
ScheduleActivityTaskDecisionAttributes.Builder |
taskList(TaskList taskList) |
If set, specifies the name of the task list in which to schedule the activity task.
|
ScheduleActivityTaskDecisionAttributes.Builder |
taskPriority(String taskPriority) |
Optional. If set, specifies the priority with which the activity task is to be assigned to a worker.
|
copy
apply, build
ScheduleActivityTaskDecisionAttributes.Builder activityType(ActivityType activityType)
Required. The type of the activity task to schedule.
activityType
- Required.ScheduleActivityTaskDecisionAttributes.Builder activityId(String activityId)
Required. The activityId
of the activity task.
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 quotarnquot.
activityId
- Required. The activityId
of the activity task.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
ScheduleActivityTaskDecisionAttributes.Builder control(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.
control
- Optional.ScheduleActivityTaskDecisionAttributes.Builder input(String input)
The input provided to the activity task.
input
- The input provided to the activity task.ScheduleActivityTaskDecisionAttributes.Builder scheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum duration for this activity task.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
scheduleToCloseTimeout
- The maximum duration for this activity task.
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
ScheduleActivityTaskDecisionAttributes.Builder taskList(TaskList 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 quotarnquot.
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 quotarnquot.
ScheduleActivityTaskDecisionAttributes.Builder taskPriority(String taskPriority)
Optional. If set, specifies the priority with which the activity task is to be assigned to a worker.
This overrides the defaultTaskPriority specified when registering the activity type using
RegisterActivityType. 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.
taskPriority
- Optional. If set, specifies the priority with which the activity task is to be assigned to a
worker. This overrides the defaultTaskPriority specified when registering the activity type using
RegisterActivityType. 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
ScheduleActivityTaskDecisionAttributes.Builder scheduleToStartTimeout(String scheduleToStartTimeout)
Optional. 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 duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
scheduleToStartTimeout
- Optional. 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 duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
ScheduleActivityTaskDecisionAttributes.Builder startToCloseTimeout(String 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 duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
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 duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
ScheduleActivityTaskDecisionAttributes.Builder heartbeatTimeout(String 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 duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
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 duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.