Interface UpdateJobRequest.Builder

    • Method Detail

      • clientToken

        UpdateJobRequest.Builder clientToken​(String clientToken)

        The unique token which the server uses to recognize retries of the same request.

        Parameters:
        clientToken - The unique token which the server uses to recognize retries of the same request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • farmId

        UpdateJobRequest.Builder farmId​(String farmId)

        The farm ID of the job to update.

        Parameters:
        farmId - The farm ID of the job to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        UpdateJobRequest.Builder jobId​(String jobId)

        The job ID to update.

        Parameters:
        jobId - The job ID to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxFailedTasksCount

        UpdateJobRequest.Builder maxFailedTasksCount​(Integer maxFailedTasksCount)

        The number of task failures before the job stops running and is marked as FAILED.

        Parameters:
        maxFailedTasksCount - The number of task failures before the job stops running and is marked as FAILED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxRetriesPerTask

        UpdateJobRequest.Builder maxRetriesPerTask​(Integer maxRetriesPerTask)

        The maximum number of retries for a job.

        Parameters:
        maxRetriesPerTask - The maximum number of retries for a job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • priority

        UpdateJobRequest.Builder priority​(Integer priority)

        The job priority to update.

        Parameters:
        priority - The job priority to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queueId

        UpdateJobRequest.Builder queueId​(String queueId)

        The queue ID of the job to update.

        Parameters:
        queueId - The queue ID of the job to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetTaskRunStatus

        UpdateJobRequest.Builder targetTaskRunStatus​(String targetTaskRunStatus)

        The task status to update the job's tasks to.

        Parameters:
        targetTaskRunStatus - The task status to update the job's tasks to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobTargetTaskRunStatus, JobTargetTaskRunStatus