public class TaskObject extends Object implements Serializable
Contains information about a pipeline task that is assigned to a task runner.
Constructor and Description |
---|
TaskObject() |
Modifier and Type | Method and Description |
---|---|
TaskObject |
addObjectsEntry(String key,
PipelineObject value)
Connection information for the location where the task runner will
publish the output of the task.
|
TaskObject |
clearObjectsEntries()
Removes all the entries added into Objects.
|
boolean |
equals(Object obj) |
String |
getAttemptId()
Identifier of the pipeline task attempt object.
|
Map<String,PipelineObject> |
getObjects()
Connection information for the location where the task runner will
publish the output of the task.
|
String |
getPipelineId()
Identifier of the pipeline that provided the task.
|
String |
getTaskId()
An internal identifier for the task.
|
int |
hashCode() |
void |
setAttemptId(String attemptId)
Identifier 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)
Identifier of the pipeline that provided the task.
|
void |
setTaskId(String taskId)
An internal identifier for the task.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TaskObject |
withAttemptId(String attemptId)
Identifier of the pipeline task attempt object.
|
TaskObject |
withObjects(Map<String,PipelineObject> objects)
Connection information for the location where the task runner will
publish the output of the task.
|
TaskObject |
withPipelineId(String pipelineId)
Identifier of the pipeline that provided the task.
|
TaskObject |
withTaskId(String taskId)
An internal identifier for the task.
|
public String getTaskId()
Constraints:
Length: 1 - 2048
Pattern: [ --�𐀀-\r\n\t]*
public void setTaskId(String taskId)
Constraints:
Length: 1 - 2048
Pattern: [ --�𐀀-\r\n\t]*
taskId
- An internal identifier for the task. This ID is passed to the
SetTaskStatus and ReportTaskProgress actions.public TaskObject withTaskId(String taskId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
Pattern: [ --�𐀀-\r\n\t]*
taskId
- An internal identifier for the task. This ID is passed to the
SetTaskStatus and ReportTaskProgress actions.public String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
pipelineId
- Identifier of the pipeline that provided the task.public TaskObject withPipelineId(String pipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
pipelineId
- Identifier of the pipeline that provided the task.public String getAttemptId()
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
public void setAttemptId(String attemptId)
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
attemptId
- Identifier of the pipeline task attempt object. AWS Data Pipeline uses
this value to track how many times a task is attempted.public TaskObject withAttemptId(String attemptId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
attemptId
- Identifier of the pipeline task attempt object. AWS Data Pipeline uses
this value to track how many times a task is attempted.public Map<String,PipelineObject> getObjects()
public void setObjects(Map<String,PipelineObject> objects)
objects
- Connection information for the location where the task runner will
publish the output of the task.public TaskObject withObjects(Map<String,PipelineObject> objects)
Returns a reference to this object so that method calls can be chained together.
objects
- Connection information for the location where the task runner will
publish the output of the task.public TaskObject addObjectsEntry(String key, PipelineObject value)
The method adds a new key-value pair into Objects parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Objects.value
- The corresponding value of the entry to be added into Objects.public TaskObject clearObjectsEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.