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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Report.Builderarn(String arn)The ARN of the report run.default Report.BuildercodeCoverageSummary(Consumer<CodeCoverageReportSummary.Builder> codeCoverageSummary)ACodeCoverageReportSummaryobject that contains a code coverage summary for this report.Report.BuildercodeCoverageSummary(CodeCoverageReportSummary codeCoverageSummary)ACodeCoverageReportSummaryobject that contains a code coverage summary for this report.Report.Buildercreated(Instant created)The date and time this report run occurred.Report.BuilderexecutionId(String executionId)The ARN of the build run that generated this report.Report.Builderexpired(Instant expired)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.Report.BuilderexportConfig(ReportExportConfig exportConfig)Information about where the raw data used to generate this report was exported.Report.Buildername(String name)The name of the report that was run.Report.BuilderreportGroupArn(String reportGroupArn)The ARN of the report group associated with this report.Report.Builderstatus(String status)The status of this report.Report.Builderstatus(ReportStatusType status)The status of this report.default Report.BuildertestSummary(Consumer<TestReportSummary.Builder> testSummary)ATestReportSummaryobject that contains information about this test report.Report.BuildertestSummary(TestReportSummary testSummary)ATestReportSummaryobject that contains information about this test report.Report.Buildertruncated(Boolean truncated)A boolean that specifies if this report run is truncated.Report.Buildertype(String type)The type of the report that was run.Report.Buildertype(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 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
-
status
Report.Builder status(ReportStatusType 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.
-
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 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:
exportConfig(ReportExportConfig)
-
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
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
default Report.Builder testSummary(Consumer<TestReportSummary.Builder> 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:
testSummary(TestReportSummary)
-
codeCoverageSummary
Report.Builder codeCoverageSummary(CodeCoverageReportSummary 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:
codeCoverageSummary(CodeCoverageReportSummary)
-
-