Class PollForTaskResult
- java.lang.Object
-
- com.amazonaws.services.datapipeline.model.PollForTaskResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class PollForTaskResult extends Object implements Serializable, Cloneable
Contains the output of PollForTask.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PollForTaskResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PollForTaskResultclone()booleanequals(Object obj)TaskObjectgetTaskObject()The information needed to complete the task that is being assigned to the task runner.inthashCode()voidsetTaskObject(TaskObject taskObject)The information needed to complete the task that is being assigned to the task runner.StringtoString()Returns a string representation of this object; useful for testing and debugging.PollForTaskResultwithTaskObject(TaskObject taskObject)The information needed to complete the task that is being assigned to the task runner.
-
-
-
Method Detail
-
setTaskObject
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 usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.- Parameters:
taskObject- The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object istaskId, which contains an identifier for the task being assigned. The calling task runner usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.
-
getTaskObject
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 usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.- Returns:
- 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 usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.
-
withTaskObject
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 usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.- Parameters:
taskObject- The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object istaskId, which contains an identifier for the task being assigned. The calling task runner usestaskIdin subsequent calls to ReportTaskProgress and SetTaskStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PollForTaskResult clone()
-
-