Interface ScheduleActivityTaskDecisionAttributes.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduleActivityTaskDecisionAttributes.Builder,ScheduleActivityTaskDecisionAttributes>
,SdkBuilder<ScheduleActivityTaskDecisionAttributes.Builder,ScheduleActivityTaskDecisionAttributes>
,SdkPojo
- Enclosing class:
- ScheduleActivityTaskDecisionAttributes
public static interface ScheduleActivityTaskDecisionAttributes.Builder extends SdkPojo, CopyableBuilder<ScheduleActivityTaskDecisionAttributes.Builder,ScheduleActivityTaskDecisionAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ScheduleActivityTaskDecisionAttributes.Builder
activityId(String activityId)
TheactivityId
of the activity task.default ScheduleActivityTaskDecisionAttributes.Builder
activityType(Consumer<ActivityType.Builder> activityType)
The type of the activity task to schedule.ScheduleActivityTaskDecisionAttributes.Builder
activityType(ActivityType 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
activityType
ScheduleActivityTaskDecisionAttributes.Builder activityType(ActivityType activityType)
The type of the activity task to schedule.
- Parameters:
activityType
- The type of the activity task to schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activityType
default ScheduleActivityTaskDecisionAttributes.Builder activityType(Consumer<ActivityType.Builder> activityType)
The type of the activity task to schedule.
This is a convenience method that creates an instance of theActivityType.Builder
avoiding the need to create one manually viaActivityType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactivityType(ActivityType)
.- Parameters:
activityType
- a consumer that will call methods onActivityType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
activityType(ActivityType)
-
activityId
ScheduleActivityTaskDecisionAttributes.Builder activityId(String activityId)
The
activityId
of the activity task.The specified string must not contain a
:
(colon),/
(slash),|
(vertical bar), or any control characters (
-
-