public class ReportTaskProgressRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the parameters for ReportTaskProgress.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Field> |
fields
Key-value pairs that define the properties of the ReportTaskProgressInput
object.
|
private java.lang.String |
taskId
The ID of the task assigned to the task runner.
|
NOOP
Constructor and Description |
---|
ReportTaskProgressRequest() |
Modifier and Type | Method and Description |
---|---|
ReportTaskProgressRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<Field> |
getFields()
Key-value pairs that define the properties of the ReportTaskProgressInput
object.
|
java.lang.String |
getTaskId()
The ID of the task assigned to the task runner.
|
int |
hashCode() |
void |
setFields(java.util.Collection<Field> fields)
Key-value pairs that define the properties of the ReportTaskProgressInput
object.
|
void |
setTaskId(java.lang.String taskId)
The ID of the task assigned to the task runner.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReportTaskProgressRequest |
withFields(java.util.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(java.lang.String taskId)
The ID of the task assigned to the task runner.
|
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
private java.lang.String taskId
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
private SdkInternalList<Field> fields
Key-value pairs that define the properties of the ReportTaskProgressInput object.
public void setTaskId(java.lang.String taskId)
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
taskId
- The ID of the task assigned to the task runner. This value is
provided in the response for PollForTask.public java.lang.String getTaskId()
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
public ReportTaskProgressRequest withTaskId(java.lang.String taskId)
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
taskId
- The ID of the task assigned to the task runner. This value is
provided in the response for PollForTask.public java.util.List<Field> getFields()
Key-value pairs that define the properties of the ReportTaskProgressInput object.
public void setFields(java.util.Collection<Field> fields)
Key-value pairs that define the properties of the ReportTaskProgressInput object.
fields
- Key-value pairs that define the properties of the
ReportTaskProgressInput object.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)
or
withFields(java.util.Collection)
if you want to override the
existing values.
fields
- Key-value pairs that define the properties of the
ReportTaskProgressInput object.public ReportTaskProgressRequest withFields(java.util.Collection<Field> fields)
Key-value pairs that define the properties of the ReportTaskProgressInput object.
fields
- Key-value pairs that define the properties of the
ReportTaskProgressInput object.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReportTaskProgressRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()