public class PollForTaskResult
extends java.lang.Object
implements java.io.Serializable
Contains the output from the PollForTask action.
| コンストラクタと説明 |
|---|
PollForTaskResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
TaskObject |
getTaskObject()
An instance of PollForTaskResult, which contains an instance of
TaskObject.
|
int |
hashCode() |
void |
setTaskObject(TaskObject taskObject)
An instance of PollForTaskResult, which contains an instance of
TaskObject.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PollForTaskResult |
withTaskObject(TaskObject taskObject)
An instance of PollForTaskResult, which contains an instance of
TaskObject.
|
public TaskObject getTaskObject()
public void setTaskObject(TaskObject taskObject)
taskObject - An instance of PollForTaskResult, which contains an instance of
TaskObject. The returned object contains all 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 PollForTaskResult withTaskObject(TaskObject taskObject)
Returns a reference to this object so that method calls can be chained together.
taskObject - An instance of PollForTaskResult, which contains an instance of
TaskObject. The returned object contains all 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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object