Interface GeneratedReport.Builder

  • Method Details

    • reportGenerationTime

      GeneratedReport.Builder reportGenerationTime(Instant reportGenerationTime)

      The timestamp when the report was generated.

      Parameters:
      reportGenerationTime - The timestamp when the report was generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportOutput

      GeneratedReport.Builder reportOutput(ReportOutput reportOutput)

      The output location or cause of a failure in report generation.

      Parameters:
      reportOutput - The output location or cause of a failure in report generation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportOutput

      default GeneratedReport.Builder reportOutput(Consumer<ReportOutput.Builder> reportOutput)

      The output location or cause of a failure in report generation.

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

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

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