@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PollForTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of PollForTask.
Constructor and Description |
---|
PollForTaskResult() |
Modifier and Type | Method and Description |
---|---|
PollForTaskResult |
clone() |
boolean |
equals(Object obj) |
TaskObject |
getTaskObject()
The information needed to complete the task that is being assigned to the task runner.
|
int |
hashCode() |
void |
setTaskObject(TaskObject taskObject)
The information needed to complete the task that is being assigned to the task runner.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PollForTaskResult |
withTaskObject(TaskObject taskObject)
The information needed to complete the task that is being assigned to the task runner.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTaskObject(TaskObject taskObject)
The information needed to complete the task that is being assigned to the task runner. One of the fields returned
in this object is taskId
, which contains an identifier for the task being assigned. The calling task
runner uses taskId
in subsequent calls to ReportTaskProgress and SetTaskStatus.
taskObject
- The information needed to complete the task that is being assigned to the task runner. One of the fields
returned in this object is taskId
, which contains an identifier for the task being assigned.
The calling task runner uses taskId
in subsequent calls to ReportTaskProgress and
SetTaskStatus.public TaskObject getTaskObject()
The information needed to complete the task that is being assigned to the task runner. One of the fields returned
in this object is taskId
, which contains an identifier for the task being assigned. The calling task
runner uses taskId
in subsequent calls to ReportTaskProgress and SetTaskStatus.
taskId
, which contains an identifier for the task being assigned.
The calling task runner uses taskId
in subsequent calls to ReportTaskProgress and
SetTaskStatus.public PollForTaskResult withTaskObject(TaskObject taskObject)
The information needed to complete the task that is being assigned to the task runner. One of the fields returned
in this object is taskId
, which contains an identifier for the task being assigned. The calling task
runner uses taskId
in subsequent calls to ReportTaskProgress and SetTaskStatus.
taskObject
- The information needed to complete the task that is being assigned to the task runner. One of the fields
returned in this object is taskId
, which contains an identifier for the task being assigned.
The calling task runner uses taskId
in subsequent calls to ReportTaskProgress and
SetTaskStatus.public String toString()
toString
in class Object
Object.toString()
public PollForTaskResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.