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:
  • Constructor Details

    • ReportTaskProgressRequest

      public ReportTaskProgressRequest()
  • Method Details

    • 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) or withFields(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: