Interface GetJobResponse.Builder

    • Method Detail

      • attachments

        GetJobResponse.Builder attachments​(Attachments attachments)

        The attachments for the job.

        Parameters:
        attachments - The attachments for the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        GetJobResponse.Builder createdAt​(Instant createdAt)

        The date and time the resource was created.

        Parameters:
        createdAt - The date and time the resource was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        GetJobResponse.Builder createdBy​(String createdBy)

        The user or system that created this resource.

        Parameters:
        createdBy - The user or system that created this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        GetJobResponse.Builder description​(String description)

        The description of the job.

        Parameters:
        description - The description of the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endedAt

        GetJobResponse.Builder endedAt​(Instant endedAt)

        The date and time the resource ended running.

        Parameters:
        endedAt - The date and time the resource ended running.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        GetJobResponse.Builder jobId​(String jobId)

        The job ID.

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

        GetJobResponse.Builder lifecycleStatus​(String lifecycleStatus)

        The life cycle status for the job.

        Parameters:
        lifecycleStatus - The life cycle status for the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobLifecycleStatus, JobLifecycleStatus
      • lifecycleStatusMessage

        GetJobResponse.Builder lifecycleStatusMessage​(String lifecycleStatusMessage)

        A message that communicates the status of the life cycle for the job.

        Parameters:
        lifecycleStatusMessage - A message that communicates the status of the life cycle for the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxFailedTasksCount

        GetJobResponse.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

        GetJobResponse.Builder maxRetriesPerTask​(Integer maxRetriesPerTask)

        The maximum number of retries per failed tasks.

        Parameters:
        maxRetriesPerTask - The maximum number of retries per failed tasks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        GetJobResponse.Builder name​(String name)

        The name of the job.

        Parameters:
        name - The name of the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameters

        GetJobResponse.Builder parameters​(Map<String,​JobParameter> parameters)

        The parameters for the job.

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

        GetJobResponse.Builder priority​(Integer priority)

        The job priority.

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

        GetJobResponse.Builder startedAt​(Instant startedAt)

        The date and time the resource started running.

        Parameters:
        startedAt - The date and time the resource started running.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageProfileId

        GetJobResponse.Builder storageProfileId​(String storageProfileId)

        The storage profile ID associated with the job.

        Parameters:
        storageProfileId - The storage profile ID associated with the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetTaskRunStatus

        GetJobResponse.Builder targetTaskRunStatus​(String targetTaskRunStatus)

        The task status with which the job started.

        Parameters:
        targetTaskRunStatus - The task status with which the job started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobTargetTaskRunStatus, JobTargetTaskRunStatus
      • taskRunStatus

        GetJobResponse.Builder taskRunStatus​(String taskRunStatus)

        The task run status for the job.

        Parameters:
        taskRunStatus - The task run status for the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TaskRunStatus, TaskRunStatus
      • taskRunStatus

        GetJobResponse.Builder taskRunStatus​(TaskRunStatus taskRunStatus)

        The task run status for the job.

        Parameters:
        taskRunStatus - The task run status for the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TaskRunStatus, TaskRunStatus
      • taskRunStatusCountsWithStrings

        GetJobResponse.Builder taskRunStatusCountsWithStrings​(Map<String,​Integer> taskRunStatusCounts)

        The number of tasks running on the job.

        Parameters:
        taskRunStatusCounts - The number of tasks running on the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskRunStatusCounts

        GetJobResponse.Builder taskRunStatusCounts​(Map<TaskRunStatus,​Integer> taskRunStatusCounts)

        The number of tasks running on the job.

        Parameters:
        taskRunStatusCounts - The number of tasks running on the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        GetJobResponse.Builder updatedAt​(Instant updatedAt)

        The date and time the resource was updated.

        Parameters:
        updatedAt - The date and time the resource was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedBy

        GetJobResponse.Builder updatedBy​(String updatedBy)

        The user or system that updated this resource.

        Parameters:
        updatedBy - The user or system that updated this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.