Interface JobReport.Builder

  • Method Details

    • message

      JobReport.Builder message(String message)

      A message associated with the job report.

      Parameters:
      message - A message associated with the job report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

      The aggregated job-level metrics for the run.

      Parameters:
      metrics - The aggregated job-level metrics for the run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metrics

      The aggregated job-level metrics for the run.

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

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

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

      JobReport.Builder jobDetailsUrl(String jobDetailsUrl)

      A URL to the detailed job results.

      Parameters:
      jobDetailsUrl - A URL to the detailed job results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.