Class TaskObject

java.lang.Object
com.amazonaws.services.datapipeline.model.TaskObject
All Implemented Interfaces:
Serializable, Cloneable

public class TaskObject extends Object implements Serializable, Cloneable

Contains information about a pipeline task that is assigned to a task runner.

See Also:
  • Constructor Details

    • TaskObject

      public TaskObject()
  • Method Details

    • setTaskId

      public void setTaskId(String taskId)

      An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

      Parameters:
      taskId - An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.
    • getTaskId

      public String getTaskId()

      An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

      Returns:
      An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.
    • withTaskId

      public TaskObject withTaskId(String taskId)

      An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

      Parameters:
      taskId - An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPipelineId

      public void setPipelineId(String pipelineId)

      The ID of the pipeline that provided the task.

      Parameters:
      pipelineId - The ID of the pipeline that provided the task.
    • getPipelineId

      public String getPipelineId()

      The ID of the pipeline that provided the task.

      Returns:
      The ID of the pipeline that provided the task.
    • withPipelineId

      public TaskObject withPipelineId(String pipelineId)

      The ID of the pipeline that provided the task.

      Parameters:
      pipelineId - The ID of the pipeline that provided the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAttemptId

      public void setAttemptId(String attemptId)

      The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

      Parameters:
      attemptId - The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.
    • getAttemptId

      public String getAttemptId()

      The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

      Returns:
      The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.
    • withAttemptId

      public TaskObject withAttemptId(String attemptId)

      The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

      Parameters:
      attemptId - The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getObjects

      public Map<String,PipelineObject> getObjects()

      Connection information for the location where the task runner will publish the output of the task.

      Returns:
      Connection information for the location where the task runner will publish the output of the task.
    • setObjects

      public void setObjects(Map<String,PipelineObject> objects)

      Connection information for the location where the task runner will publish the output of the task.

      Parameters:
      objects - Connection information for the location where the task runner will publish the output of the task.
    • withObjects

      public TaskObject withObjects(Map<String,PipelineObject> objects)

      Connection information for the location where the task runner will publish the output of the task.

      Parameters:
      objects - Connection information for the location where the task runner will publish the output of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addObjectsEntry

      public TaskObject addObjectsEntry(String key, PipelineObject value)
    • clearObjectsEntries

      public TaskObject clearObjectsEntries()
      Removes all the entries added into Objects. <p> 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:
      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 TaskObject clone()
      Overrides:
      clone in class Object