Interface TestReport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TestReport.Builder,,TestReport> SdkBuilder<TestReport.Builder,,TestReport> SdkPojo
- Enclosing class:
TestReport
@Mutable
@NotThreadSafe
public static interface TestReport.Builder
extends SdkPojo, CopyableBuilder<TestReport.Builder,TestReport>
-
Method Summary
Modifier and TypeMethodDescriptionA message associated with the test report.default TestReport.Buildermetrics(Consumer<TestReportMetrics.Builder> metrics) The aggregated test-level metrics for the job.metrics(TestReportMetrics metrics) The aggregated test-level metrics for the job.testDetailsUrl(String testDetailsUrl) A URL to the detailed test results.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, sdkFieldNameToField, sdkFields
-
Method Details
-
message
A message associated with the test report.
- Parameters:
message- A message associated with the test report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The aggregated test-level metrics for the job.
- Parameters:
metrics- The aggregated test-level metrics for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The aggregated test-level metrics for the job.
This is a convenience method that creates an instance of theTestReportMetrics.Builderavoiding the need to create one manually viaTestReportMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometrics(TestReportMetrics).- Parameters:
metrics- a consumer that will call methods onTestReportMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testDetailsUrl
A URL to the detailed test results.
- Parameters:
testDetailsUrl- A URL to the detailed test results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-