ToCopyableBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>
@Generated("software.amazon.awssdk:codegen") public class PollForActivityTaskResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>
Unit of work sent to an activity worker.
Modifier and Type | Class | Description |
---|---|---|
static interface |
PollForActivityTaskResponse.Builder |
Modifier and Type | Method | 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() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
WorkflowExecution |
workflowExecution() |
The workflow execution that started this activity task.
|
setSdkHttpMetadata, setSdkResponseMetadata
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>
public static PollForActivityTaskResponse.Builder builder()
public static Class<? extends PollForActivityTaskResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.