Interface Report.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Report.Builder,,Report> SdkBuilder<Report.Builder,,Report> SdkPojo
- Enclosing class:
Report
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the report run.default Report.BuildercodeCoverageSummary(Consumer<CodeCoverageReportSummary.Builder> codeCoverageSummary) ACodeCoverageReportSummaryobject that contains a code coverage summary for this report.codeCoverageSummary(CodeCoverageReportSummary codeCoverageSummary) ACodeCoverageReportSummaryobject that contains a code coverage summary for this report.The date and time this report run occurred.executionId(String executionId) The ARN of the build run that generated this report.The date and time a report expires.default Report.BuilderexportConfig(Consumer<ReportExportConfig.Builder> exportConfig) Information about where the raw data used to generate this report was exported.exportConfig(ReportExportConfig exportConfig) Information about where the raw data used to generate this report was exported.The name of the report that was run.reportGroupArn(String reportGroupArn) The ARN of the report group associated with this report.The status of this report.status(ReportStatusType status) The status of this report.default Report.BuildertestSummary(Consumer<TestReportSummary.Builder> testSummary) ATestReportSummaryobject that contains information about this test report.testSummary(TestReportSummary testSummary) ATestReportSummaryobject that contains information about this test report.A boolean that specifies if this report run is truncated.The type of the report that was run.type(ReportType type) The type of the report that was run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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
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
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
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
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
Information about where the raw data used to generate this report was exported.
This is a convenience method that creates an instance of theReportExportConfig.Builderavoiding the need to create one manually viaReportExportConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexportConfig(ReportExportConfig).- Parameters:
exportConfig- a consumer that will call methods onReportExportConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
A
TestReportSummaryobject that contains information about this test report.- Parameters:
testSummary- ATestReportSummaryobject that contains information about this test report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSummary
A
This is a convenience method that creates an instance of theTestReportSummaryobject that contains information about this test report.TestReportSummary.Builderavoiding the need to create one manually viaTestReportSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestSummary(TestReportSummary).- Parameters:
testSummary- a consumer that will call methods onTestReportSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codeCoverageSummary
A
CodeCoverageReportSummaryobject that contains a code coverage summary for this report.- Parameters:
codeCoverageSummary- ACodeCoverageReportSummaryobject 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
This is a convenience method that creates an instance of theCodeCoverageReportSummaryobject that contains a code coverage summary for this report.CodeCoverageReportSummary.Builderavoiding the need to create one manually viaCodeCoverageReportSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeCoverageSummary(CodeCoverageReportSummary).- Parameters:
codeCoverageSummary- a consumer that will call methods onCodeCoverageReportSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-