Class ReportTaskProgressResult
- java.lang.Object
-
- com.amazonaws.services.datapipeline.model.ReportTaskProgressResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ReportTaskProgressResult extends Object implements Serializable, Cloneable
Contains the output of ReportTaskProgress.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReportTaskProgressResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportTaskProgressResult
clone()
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.
-
-
-
Method Detail
-
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.
-
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.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReportTaskProgressResult clone()
-
-