public class ReportTaskProgressRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ReportTaskProgress operation.
 
 Task runners call ReportTaskProgress when assigned a task
 to acknowledge that it has the task. If the web service does not
 receive this acknowledgement within 2 minutes, it assigns the task in
 a subsequent PollForTask call. After this initial acknowledgement, the
 task runner only needs to report progress every 15 minutes to maintain
 its ownership of the task. You can change this reporting time from 15
 minutes by specifying a reportProgressTimeout field in
 your pipeline.
 
 If a task runner does not report its status after 5 minutes, AWS Data
 Pipeline assumes that the task runner is unable to process the task
 and reassigns the task in a subsequent response to PollForTask. Task
 runners should call ReportTaskProgress every 60 seconds.
 
NOOP| Constructor and Description | 
|---|
| ReportTaskProgressRequest() | 
| Modifier and Type | Method and 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(Collection<Field> fields)Key-value pairs that define the properties of the
 ReportTaskProgressInput object. | 
| ReportTaskProgressRequest | withFields(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. | 
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getTaskId()
 Constraints:
 Length: 1 - 2048
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setTaskId(String taskId)
 Constraints:
 Length: 1 - 2048
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
taskId - The ID of the task assigned to the task runner. This value is provided
         in the response for PollForTask.public ReportTaskProgressRequest withTaskId(String taskId)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 2048
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
taskId - The ID of the task assigned to the task runner. This value is provided
         in the response for PollForTask.public List<Field> getFields()
public void setFields(Collection<Field> fields)
fields - Key-value pairs that define the properties of the
         ReportTaskProgressInput object.public ReportTaskProgressRequest withFields(Field... fields)
 NOTE: This method appends the values to the existing list (if
 any). Use setFields(java.util.Collection) or withFields(java.util.Collection) if you want to override the
 existing values.
 
Returns a reference to this object so that method calls can be chained together.
fields - Key-value pairs that define the properties of the
         ReportTaskProgressInput object.public ReportTaskProgressRequest withFields(Collection<Field> fields)
Returns a reference to this object so that method calls can be chained together.
fields - Key-value pairs that define the properties of the
         ReportTaskProgressInput object.public String toString()
toString in class ObjectObject.toString()public ReportTaskProgressRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.