Interface GetJobRunResponse.Builder

  • Method Details

    • createdAt

      GetJobRunResponse.Builder createdAt(Instant createdAt)

      The timestamp of when the job run was created.

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

      GetJobRunResponse.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.
    • details

      The details of the job run.

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

      The details of the job run.

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

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

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

      GetJobRunResponse.Builder domainId(String domainId)

      The ID of the domain.

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

      The timestamp of when the job run ended.

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

      The error generated if the action is not completed successfully.

      Parameters:
      error - The error generated if the action is not completed successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      The error generated if the action is not completed successfully.

      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:
    • id

      The ID of the job run.

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

      The ID of the job run.

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

      The type of the job run.

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

      The type of the job run.

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

      The mode of the job run.

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

      The mode of the job run.

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

      GetJobRunResponse.Builder startTime(Instant startTime)

      The timestamp of when the job run started.

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

      The status of the job run.

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

      The status of the job run.

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