CopyableBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>
, SdkBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>
public static interface PollForActivityTaskResponse.Builder extends CopyableBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>
Modifier and Type | Method | Description |
---|---|---|
PollForActivityTaskResponse.Builder |
activityId(String activityId) |
The unique ID of the task.
|
PollForActivityTaskResponse.Builder |
activityType(ActivityType activityType) |
The type of this activity task.
|
PollForActivityTaskResponse.Builder |
input(String input) |
The inputs provided when the activity task was scheduled.
|
PollForActivityTaskResponse.Builder |
startedEventId(Long startedEventId) |
The ID of the
ActivityTaskStarted event recorded in the history. |
PollForActivityTaskResponse.Builder |
taskToken(String taskToken) |
The opaque string used as a handle on the task.
|
PollForActivityTaskResponse.Builder |
workflowExecution(WorkflowExecution workflowExecution) |
The workflow execution that started this activity task.
|
copy
apply, build
PollForActivityTaskResponse.Builder taskToken(String taskToken)
The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.
taskToken
- The opaque string used as a handle on the task. This token is used by workers to communicate progress
and response information back to the system about the task.PollForActivityTaskResponse.Builder activityId(String activityId)
The unique ID of the task.
activityId
- The unique ID of the task.PollForActivityTaskResponse.Builder startedEventId(Long startedEventId)
The ID of the ActivityTaskStarted
event recorded in the history.
startedEventId
- The ID of the ActivityTaskStarted
event recorded in the history.PollForActivityTaskResponse.Builder workflowExecution(WorkflowExecution workflowExecution)
The workflow execution that started this activity task.
workflowExecution
- The workflow execution that started this activity task.PollForActivityTaskResponse.Builder activityType(ActivityType activityType)
The type of this activity task.
activityType
- The type of this activity task.PollForActivityTaskResponse.Builder input(String input)
The inputs provided when the activity task was scheduled. The form of the input is user defined and should be meaningful to the activity implementation.
input
- The inputs provided when the activity task was scheduled. The form of the input is user defined and
should be meaningful to the activity implementation.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.