@Generated(value="software.amazon.awssdk:codegen") public class PollForActivityTaskResponse extends AmazonWebServiceResult<ResponseMetadata> implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>
Unit of work sent to an activity worker.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PollForActivityTaskResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
activityId()
The unique ID of the task.
|
ActivityType |
activityType()
The type of this activity task.
|
static PollForActivityTaskResponse.Builder |
builder() |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
input()
The inputs provided when the activity task was scheduled.
|
static Class<? extends PollForActivityTaskResponse.Builder> |
serializableBuilderClass() |
Long |
startedEventId()
The ID of the
ActivityTaskStarted event recorded in the history. |
String |
taskToken()
The opaque string used as a handle on the task.
|
PollForActivityTaskResponse.Builder |
toBuilder() |
String |
toString() |
WorkflowExecution |
workflowExecution()
The workflow execution that started this activity task.
|
setSdkHttpMetadata, setSdkResponseMetadatapublic 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.
public String activityId()
The unique ID of the task.
public Long startedEventId()
The ID of the ActivityTaskStarted event recorded in the history.
ActivityTaskStarted event recorded in the history.public WorkflowExecution workflowExecution()
The workflow execution that started this activity task.
public ActivityType activityType()
The type of this activity task.
public 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.
public PollForActivityTaskResponse.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>public static PollForActivityTaskResponse.Builder builder()
public static Class<? extends PollForActivityTaskResponse.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.