@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) |
boolean |
equalsBySdkFields(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 final 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 final String activityId()
The unique ID of the task.
public final Long startedEventId()
The ID of the ActivityTaskStarted event recorded in the history.
ActivityTaskStarted event recorded in the history.public final WorkflowExecution workflowExecution()
The workflow execution that started this activity task.
public final ActivityType activityType()
The type of this activity task.
public final 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 final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.