Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.datapipeline.model
Class PollForTaskResult

java.lang.Object
  extended by com.amazonaws.services.datapipeline.model.PollForTaskResult
All Implemented Interfaces:
Serializable

public class PollForTaskResult
extends Object
implements Serializable

Contains the output from the PollForTask action.

See Also:
Serialized Form

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

PollForTaskResult

public PollForTaskResult()
Method Detail

getTaskObject

public TaskObject getTaskObject()
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.

Returns:
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.

setTaskObject

public void setTaskObject(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.

Parameters:
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.

withTaskObject

public PollForTaskResult withTaskObject(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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.