|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.datapipeline.model.PollForTaskResult
public class PollForTaskResult
Contains the output from the PollForTask action.
Constructor Summary | |
---|---|
PollForTaskResult()
|
Method Summary | |
---|---|
boolean |
equals(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. |
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PollForTaskResult()
Method Detail |
---|
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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |