Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.datapipeline.model
Class TaskObject

java.lang.Object
  extended by com.amazonaws.services.datapipeline.model.TaskObject
All Implemented Interfaces:
Serializable

public class TaskObject
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
TaskObject()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskObject

public TaskObject()
Method Detail

getTaskId

public String getTaskId()
An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

Constraints:
Length: 1 - 2048
Pattern: [ -??-??-?\r\n\t]*

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

setTaskId

public void setTaskId(String taskId)
An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

Constraints:
Length: 1 - 2048
Pattern: [ -??-??-?\r\n\t]*

Parameters:
taskId - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 2048
Pattern: [ -??-??-?\r\n\t]*

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

getPipelineId

public String getPipelineId()
Identifier of the pipeline that provided the task.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Returns:
Identifier of the pipeline that provided the task.

setPipelineId

public void setPipelineId(String pipelineId)
Identifier of the pipeline that provided the task.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
pipelineId - Identifier of the pipeline that provided the task.

withPipelineId

public TaskObject withPipelineId(String pipelineId)
Identifier of the pipeline that provided the task.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
pipelineId - Identifier of the pipeline that provided the task.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttemptId

public String getAttemptId()
Identifier of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

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

setAttemptId

public void setAttemptId(String attemptId)
Identifier of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
attemptId - Identifier 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)
Identifier of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
attemptId - Identifier of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
objects - Connection information for the location where the task runner will publish the output of the task.
Returns:
A reference to this updated 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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.