Class TaskObject

    • Constructor Detail

      • TaskObject

        public TaskObject()
    • Method Detail

      • 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.
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object