Class TaskObject
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a pipeline task that is assigned to a task runner.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddObjectsEntry
(String key, PipelineObject value) Removes all the entries added into Objects.clone()
boolean
The ID of the pipeline task attempt object.Connection information for the location where the task runner will publish the output of the task.The ID of the pipeline that provided the task.An internal identifier for the task.int
hashCode()
void
setAttemptId
(String attemptId) The ID of the pipeline task attempt object.void
setObjects
(Map<String, PipelineObject> objects) Connection information for the location where the task runner will publish the output of the task.void
setPipelineId
(String pipelineId) The ID of the pipeline that provided the task.void
An internal identifier for the task.toString()
Returns a string representation of this object; useful for testing and debugging.withAttemptId
(String attemptId) The ID of the pipeline task attempt object.withObjects
(Map<String, PipelineObject> objects) Connection information for the location where the task runner will publish the output of the task.withPipelineId
(String pipelineId) The ID of the pipeline that provided the task.withTaskId
(String taskId) An internal identifier for the task.
-
Constructor Details
-
TaskObject
public TaskObject()
-
-
Method Details
-
setTaskId
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
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
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
The ID of the pipeline that provided the task.
- Parameters:
pipelineId
- The ID of the pipeline that provided the task.
-
getPipelineId
The ID of the pipeline that provided the task.
- Returns:
- The ID of the pipeline that provided the task.
-
withPipelineId
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
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
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
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
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
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
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
-
clearObjectsEntries
Removes all the entries added into Objects. <p> Returns a reference to this object so that method calls can be chained together. -
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-