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.Builder
codeCoverageSummary
(Consumer<CodeCoverageReportSummary.Builder> codeCoverageSummary) ACodeCoverageReportSummary
object that contains a code coverage summary for this report.codeCoverageSummary
(CodeCoverageReportSummary codeCoverageSummary) ACodeCoverageReportSummary
object 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.Builder
exportConfig
(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.Builder
testSummary
(Consumer<TestReportSummary.Builder> testSummary) ATestReportSummary
object that contains information about this test report.testSummary
(TestReportSummary testSummary) ATestReportSummary
object 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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaReportExportConfig.builder()
.When the
Consumer
completes,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
TestReportSummary
object that contains information about this test report.- Parameters:
testSummary
- ATestReportSummary
object 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 theTestReportSummary
object that contains information about this test report.TestReportSummary.Builder
avoiding the need to create one manually viaTestReportSummary.builder()
.When the
Consumer
completes,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
CodeCoverageReportSummary
object that contains a code coverage summary for this report.- Parameters:
codeCoverageSummary
- ACodeCoverageReportSummary
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
This is a convenience method that creates an instance of theCodeCoverageReportSummary
object that contains a code coverage summary for this report.CodeCoverageReportSummary.Builder
avoiding the need to create one manually viaCodeCoverageReportSummary.builder()
.When the
Consumer
completes,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:
-