Class ReportTaskProgressRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.datapipeline.model.ReportTaskProgressRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ReportTaskProgressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for ReportTaskProgress.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ReportTaskProgressRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportTaskProgressRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<Field>
getFields()
Key-value pairs that define the properties of the ReportTaskProgressInput object.String
getTaskId()
The ID of the task assigned to the task runner.int
hashCode()
void
setFields(Collection<Field> fields)
Key-value pairs that define the properties of the ReportTaskProgressInput object.void
setTaskId(String taskId)
The ID of the task assigned to the task runner.String
toString()
Returns a string representation of this object; useful for testing and debugging.ReportTaskProgressRequest
withFields(Field... fields)
Key-value pairs that define the properties of the ReportTaskProgressInput object.ReportTaskProgressRequest
withFields(Collection<Field> fields)
Key-value pairs that define the properties of the ReportTaskProgressInput object.ReportTaskProgressRequest
withTaskId(String taskId)
The ID of the task assigned to the task runner.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setTaskId
public void setTaskId(String taskId)
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
- Parameters:
taskId
- The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
-
getTaskId
public String getTaskId()
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
- Returns:
- The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
-
withTaskId
public ReportTaskProgressRequest withTaskId(String taskId)
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
- Parameters:
taskId
- The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFields
public List<Field> getFields()
Key-value pairs that define the properties of the ReportTaskProgressInput object.
- Returns:
- Key-value pairs that define the properties of the ReportTaskProgressInput object.
-
setFields
public void setFields(Collection<Field> fields)
Key-value pairs that define the properties of the ReportTaskProgressInput object.
- Parameters:
fields
- Key-value pairs that define the properties of the ReportTaskProgressInput object.
-
withFields
public ReportTaskProgressRequest withFields(Field... fields)
Key-value pairs that define the properties of the ReportTaskProgressInput object.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
orwithFields(java.util.Collection)
if you want to override the existing values.- Parameters:
fields
- Key-value pairs that define the properties of the ReportTaskProgressInput object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFields
public ReportTaskProgressRequest withFields(Collection<Field> fields)
Key-value pairs that define the properties of the ReportTaskProgressInput object.
- Parameters:
fields
- Key-value pairs that define the properties of the ReportTaskProgressInput object.- Returns:
- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReportTaskProgressRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-