public static interface ScheduleActivityTaskDecisionAttributes.Builder extends CopyableBuilder<ScheduleActivityTaskDecisionAttributes.Builder,ScheduleActivityTaskDecisionAttributes>
Modifier and Type | Method and Description |
---|---|
ScheduleActivityTaskDecisionAttributes.Builder |
activityId(String activityId)
The
activityId of the activity task. |
ScheduleActivityTaskDecisionAttributes.Builder |
activityType(ActivityType activityType)
The type of the activity task to schedule.
|
default ScheduleActivityTaskDecisionAttributes.Builder |
activityType(Consumer<ActivityType.Builder> activityType)
The type of the activity task to schedule.
|
ScheduleActivityTaskDecisionAttributes.Builder |
control(String control)
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)
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.
|
default ScheduleActivityTaskDecisionAttributes.Builder |
taskList(Consumer<TaskList.Builder> taskList)
If set, specifies the name of the task list in which to schedule the 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)
If set, specifies the priority with which the activity task is to be assigned to a worker.
|
copy
applyMutation, build
ScheduleActivityTaskDecisionAttributes.Builder activityType(ActivityType activityType)
The type of the activity task to schedule.
activityType
- The type of the activity task to schedule.default ScheduleActivityTaskDecisionAttributes.Builder activityType(Consumer<ActivityType.Builder> activityType)
The type of the activity task to schedule.
This is a convenience that creates an instance of theActivityType.Builder
avoiding the need to
create one manually via ActivityType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to activityType(ActivityType)
.activityType
- a consumer that will call methods on ActivityType.Builder
activityType(ActivityType)
ScheduleActivityTaskDecisionAttributes.Builder activityId(String activityId)
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 (