Interface JobRunSummary.Builder

  • Method Details

    • createdAt

      JobRunSummary.Builder createdAt(Instant createdAt)

      The timestamp at which job run was created.

      Parameters:
      createdAt - The timestamp at which job run was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      JobRunSummary.Builder createdBy(String createdBy)

      The user who created the job run.

      Parameters:
      createdBy - The user who created the job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainId

      JobRunSummary.Builder domainId(String domainId)

      The domain ID of the job run.

      Parameters:
      domainId - The domain ID of the job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      JobRunSummary.Builder endTime(Instant endTime)

      The end time of a job run.

      Parameters:
      endTime - The end time of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      The error of a job run.

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

      The error of a job run.

      This is a convenience method that creates an instance of the JobRunError.Builder avoiding the need to create one manually via JobRunError.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to error(JobRunError).

      Parameters:
      error - a consumer that will call methods on JobRunError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobId

      The job ID of a job run.

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

      JobRunSummary.Builder jobType(String jobType)

      The job type of a job run.

      Parameters:
      jobType - The job type of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobType

      JobRunSummary.Builder jobType(JobType jobType)

      The job type of a job run.

      Parameters:
      jobType - The job type of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runId

      The run ID of a job run.

      Parameters:
      runId - The run ID of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runMode

      JobRunSummary.Builder runMode(String runMode)

      The run mode of a job run.

      Parameters:
      runMode - The run mode of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runMode

      The run mode of a job run.

      Parameters:
      runMode - The run mode of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startTime

      JobRunSummary.Builder startTime(Instant startTime)

      The start time of a job run.

      Parameters:
      startTime - The start time of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      JobRunSummary.Builder status(String status)

      The status of a job run.

      Parameters:
      status - The status of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of a job run.

      Parameters:
      status - The status of a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: