Interface Report.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Report.Builder,Report>, SdkBuilder<Report.Builder,Report>, SdkPojo
Enclosing class:
Report

public static interface Report.Builder extends SdkPojo, CopyableBuilder<Report.Builder,Report>
  • Method Details

    • arn

      The ARN of the report run.

      Parameters:
      arn - The ARN of the report run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Report.Builder type(String type)

      The type of the report that was run.

      CODE_COVERAGE

      A code coverage report.

      TEST

      A test report.

      Parameters:
      type - The type of the report that was run.

      CODE_COVERAGE

      A code coverage report.

      TEST

      A test report.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the report that was run.

      CODE_COVERAGE

      A code coverage report.

      TEST

      A test report.

      Parameters:
      type - The type of the report that was run.

      CODE_COVERAGE

      A code coverage report.

      TEST

      A test report.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Report.Builder name(String name)

      The name of the report that was run.

      Parameters:
      name - The name of the report that was run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportGroupArn

      Report.Builder reportGroupArn(String reportGroupArn)

      The ARN of the report group associated with this report.

      Parameters:
      reportGroupArn - The ARN of the report group associated with this report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionId

      Report.Builder executionId(String executionId)

      The ARN of the build run that generated this report.

      Parameters:
      executionId - The ARN of the build run that generated this report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Report.Builder status(String status)

      The status of this report.

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

      The status of this report.

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

      Report.Builder created(Instant created)

      The date and time this report run occurred.

      Parameters:
      created - The date and time this report run occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expired

      Report.Builder expired(Instant expired)

      The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.

      Parameters:
      expired - The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exportConfig

      Report.Builder exportConfig(ReportExportConfig exportConfig)

      Information about where the raw data used to generate this report was exported.

      Parameters:
      exportConfig - Information about where the raw data used to generate this report was exported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exportConfig

      default Report.Builder exportConfig(Consumer<ReportExportConfig.Builder> exportConfig)

      Information about where the raw data used to generate this report was exported.

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

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

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

      Report.Builder truncated(Boolean truncated)

      A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.

      Parameters:
      truncated - A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testSummary

      Report.Builder testSummary(TestReportSummary testSummary)

      A TestReportSummary object that contains information about this test report.

      Parameters:
      testSummary - A TestReportSummary object that contains information about this test report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testSummary

      default Report.Builder testSummary(Consumer<TestReportSummary.Builder> testSummary)

      A TestReportSummary object that contains information about this test report.

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

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

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

      Report.Builder codeCoverageSummary(CodeCoverageReportSummary codeCoverageSummary)

      A CodeCoverageReportSummary object that contains a code coverage summary for this report.

      Parameters:
      codeCoverageSummary - A CodeCoverageReportSummary object that contains a code coverage summary for this report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeCoverageSummary

      default Report.Builder codeCoverageSummary(Consumer<CodeCoverageReportSummary.Builder> codeCoverageSummary)

      A CodeCoverageReportSummary object that contains a code coverage summary for this report.

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

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

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