Interface Report.Builder

    • Method Detail

      • arn

        Report.Builder arn​(String 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:
        ReportType, ReportType
      • type

        Report.Builder type​(ReportType 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:
        ReportType, ReportType
      • 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:
        ReportStatusType, ReportStatusType
      • 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.
      • 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.
      • 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.