Class ReportTaskProgressRequest

    • Constructor Detail

      • ReportTaskProgressRequest

        public ReportTaskProgressRequest()
    • 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) 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object