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
Modifier and TypeMethodDescriptionactivityId
(String activityId) TheactivityId
of the activity task.activityType
(Consumer<ActivityType.Builder> activityType) The type of the activity task to schedule.activityType
(ActivityType activityType) The type of the activity task to schedule.Data attached to the event that can be used by the decider in subsequent workflow tasks.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.The input provided to the activity task.scheduleToCloseTimeout
(String scheduleToCloseTimeout) The maximum duration for this activity task.scheduleToStartTimeout
(String scheduleToStartTimeout) If set, specifies the maximum duration the activity task can wait to be assigned to a worker.startToCloseTimeout
(String startToCloseTimeout) If set, specifies the maximum duration a worker may take to process this activity task.taskList
(Consumer<TaskList.Builder> taskList) If set, specifies the name of the task list in which to schedule the activity task.If set, specifies the name of the task list in which to schedule the activity task.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 Details
-
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:
-
activityId
The
activityId
of the activity task.The specified string must not contain a
:
(colon),/
(slash),|
(vertical bar), or any control characters (
-