@Generated(value="software.amazon.awssdk:codegen") public final class PollForActivityTaskResponse extends SwfResponse implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
input()
The inputs provided when the activity task was scheduled.
|
List<SdkField<?>> |
sdkFields() |
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()
Returns a string representation of this object.
|
WorkflowExecution |
workflowExecution()
The workflow execution that started this activity task.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 ToCopyableBuilder<PollForActivityTaskResponse.Builder,PollForActivityTaskResponse>toBuilder in class AwsResponsepublic static PollForActivityTaskResponse.Builder builder()
public static Class<? extends PollForActivityTaskResponse.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.