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:
  • Constructor Details

    • ReportTaskProgressResult

      public ReportTaskProgressResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ReportTaskProgressResult clone()
      Overrides:
      clone in class Object