CopyableBuilder<ActivityTaskScheduledEventAttributes.Builder,ActivityTaskScheduledEventAttributes>
, SdkBuilder<ActivityTaskScheduledEventAttributes.Builder,ActivityTaskScheduledEventAttributes>
public static interface ActivityTaskScheduledEventAttributes.Builder extends CopyableBuilder<ActivityTaskScheduledEventAttributes.Builder,ActivityTaskScheduledEventAttributes>
Modifier and Type | Method | Description |
---|---|---|
ActivityTaskScheduledEventAttributes.Builder |
activityId(String activityId) |
The unique ID of the activity task.
|
ActivityTaskScheduledEventAttributes.Builder |
activityType(ActivityType activityType) |
The type of the activity task.
|
ActivityTaskScheduledEventAttributes.Builder |
control(String control) |
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
|
ActivityTaskScheduledEventAttributes.Builder |
decisionTaskCompletedEventId(Long decisionTaskCompletedEventId) |
The ID of the
DecisionTaskCompleted event corresponding to the decision that resulted in the
scheduling of this activity task. |
ActivityTaskScheduledEventAttributes.Builder |
heartbeatTimeout(String heartbeatTimeout) |
The maximum time before which the worker processing this task must report progress by calling
RecordActivityTaskHeartbeat.
|
ActivityTaskScheduledEventAttributes.Builder |
input(String input) |
The input provided to the activity task.
|
ActivityTaskScheduledEventAttributes.Builder |
scheduleToCloseTimeout(String scheduleToCloseTimeout) |
The maximum amount of time for this activity task.
|
ActivityTaskScheduledEventAttributes.Builder |
scheduleToStartTimeout(String scheduleToStartTimeout) |
The maximum amount of time the activity task can wait to be assigned to a worker.
|
ActivityTaskScheduledEventAttributes.Builder |
startToCloseTimeout(String startToCloseTimeout) |
The maximum amount of time a worker may take to process the activity task.
|
ActivityTaskScheduledEventAttributes.Builder |
taskList(TaskList taskList) |
The task list in which the activity task has been scheduled.
|
ActivityTaskScheduledEventAttributes.Builder |
taskPriority(String taskPriority) |
Optional. The priority to assign to the scheduled activity task.
|
copy
apply, build
ActivityTaskScheduledEventAttributes.Builder activityType(ActivityType activityType)
The type of the activity task.
activityType
- The type of the activity task.ActivityTaskScheduledEventAttributes.Builder activityId(String activityId)
The unique ID of the activity task.
activityId
- The unique ID of the activity task.ActivityTaskScheduledEventAttributes.Builder input(String input)
The input provided to the activity task.
input
- The input provided to the activity task.ActivityTaskScheduledEventAttributes.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.ActivityTaskScheduledEventAttributes.Builder scheduleToStartTimeout(String scheduleToStartTimeout)
The maximum amount of time the activity task can wait to be assigned to a worker.
scheduleToStartTimeout
- The maximum amount of time the activity task can wait to be assigned to a worker.ActivityTaskScheduledEventAttributes.Builder scheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum amount of time for this activity task.
scheduleToCloseTimeout
- The maximum amount of time for this activity task.ActivityTaskScheduledEventAttributes.Builder startToCloseTimeout(String startToCloseTimeout)
The maximum amount of time a worker may take to process the activity task.
startToCloseTimeout
- The maximum amount of time a worker may take to process the activity task.ActivityTaskScheduledEventAttributes.Builder taskList(TaskList taskList)
The task list in which the activity task has been scheduled.
taskList
- The task list in which the activity task has been scheduled.ActivityTaskScheduledEventAttributes.Builder taskPriority(String taskPriority)
Optional. The priority to assign to the scheduled activity task. If set, this will override any default priority value that was assigned when the activity type was registered.
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. The priority to assign to the scheduled activity task. If set, this will override any
default priority value that was assigned when the activity type was registered.
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
ActivityTaskScheduledEventAttributes.Builder decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in the
scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the
chain of events leading up to this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in
the scheduling of this activity task. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.ActivityTaskScheduledEventAttributes.Builder heartbeatTimeout(String heartbeatTimeout)
The maximum time before which the worker processing this task 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 return a result, it will be ignored.
heartbeatTimeout
- The maximum time before which the worker processing this task 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 return a result, it will be
ignored.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.