Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.datapipeline.model
Class ReportTaskProgressResult

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

public class ReportTaskProgressResult
extends Object
implements Serializable

Contains the output from the ReportTaskProgress action.

See Also:
Serialized Form

Constructor Summary
ReportTaskProgressResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getCanceled()
          If True, the calling task runner should cancel processing of the task.
 int hashCode()
           
 Boolean isCanceled()
          If True, the calling task runner should cancel processing of the task.
 void setCanceled(Boolean canceled)
          If True, the calling task runner should cancel processing of the task.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReportTaskProgressResult withCanceled(Boolean canceled)
          If True, the calling task runner should cancel processing of the task.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportTaskProgressResult

public ReportTaskProgressResult()
Method Detail

isCanceled

public Boolean isCanceled()
If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

Returns:
If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

setCanceled

public void setCanceled(Boolean canceled)
If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

Parameters:
canceled - If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

withCanceled

public ReportTaskProgressResult withCanceled(Boolean canceled)
If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

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

Parameters:
canceled - If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.
Returns:
A reference to this updated object so that method calls can be chained together.

getCanceled

public Boolean getCanceled()
If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

Returns:
If True, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

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.