@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskObject extends Object implements Serializable, Cloneable, StructuredPojo
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) |
TaskObject |
clearObjectsEntries()
Removes all the entries added into Objects.
|
TaskObject |
clone() |
boolean |
equals(Object obj) |
String |
getAttemptId()
The ID 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()
The ID of the pipeline that provided the task.
|
String |
getTaskId()
An internal identifier for the task.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
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)
The ID 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)
The ID of the pipeline that provided the task.
|
TaskObject |
withTaskId(String taskId)
An internal identifier for the task.
|
public void setTaskId(String taskId)
An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.
taskId
- An internal identifier for the task. This ID is passed to the SetTaskStatus and
ReportTaskProgress actions.public String getTaskId()
An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.
public TaskObject withTaskId(String taskId)
An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.
taskId
- An internal identifier for the task. This ID is passed to the SetTaskStatus and
ReportTaskProgress actions.public void setPipelineId(String pipelineId)
The ID of the pipeline that provided the task.
pipelineId
- The ID of the pipeline that provided the task.public String getPipelineId()
The ID of the pipeline that provided the task.
public TaskObject withPipelineId(String pipelineId)
The ID of the pipeline that provided the task.
pipelineId
- The ID of the pipeline that provided the task.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.
attemptId
- The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a
task is attempted.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.
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.
attemptId
- The ID 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()
Connection information for the location where the task runner will publish the output of the task.
public void setObjects(Map<String,PipelineObject> objects)
Connection information for the location where the task runner will publish the output of the task.
objects
- Connection information for the location where the task runner will publish the output of the task.public TaskObject withObjects(Map<String,PipelineObject> objects)
Connection information for the location where the task runner will publish the output of the task.
objects
- Connection information for the location where the task runner will publish the output of the task.public TaskObject addObjectsEntry(String key, PipelineObject value)
public TaskObject clearObjectsEntries()
public String toString()
toString
in class Object
Object.toString()
public TaskObject clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.