Interface TestReportMetrics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TestReportMetrics.Builder,,TestReportMetrics> SdkBuilder<TestReportMetrics.Builder,,TestReportMetrics> SdkPojo
- Enclosing class:
TestReportMetrics
@Mutable
@NotThreadSafe
public static interface TestReportMetrics.Builder
extends SdkPojo, CopyableBuilder<TestReportMetrics.Builder,TestReportMetrics>
-
Method Summary
Modifier and TypeMethodDescriptionmedianTestExecutionDurationSeconds(Double medianTestExecutionDurationSeconds) The median execution duration of tests in the job, in seconds.testsErrored(Integer testsErrored) The number of tests that errored.testsFailed(Integer testsFailed) The number of tests that failed.testsOther(Integer testsOther) The number of tests with other result types.testsPassed(Integer testsPassed) The number of tests that passed.testsPassedPercentage(Double testsPassedPercentage) The percentage of tests that passed.testsSkipped(Integer testsSkipped) The number of tests that were skipped.testsTotal(Integer testsTotal) The total number of tests in the job.totalTestExecutionDurationSeconds(Double totalTestExecutionDurationSeconds) The total execution duration of all tests in the job, in seconds.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
-
testsTotal
The total number of tests in the job.
- Parameters:
testsTotal- The total number of tests in the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testsPassed
The number of tests that passed.
- Parameters:
testsPassed- The number of tests that passed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testsFailed
The number of tests that failed.
- Parameters:
testsFailed- The number of tests that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testsSkipped
The number of tests that were skipped.
- Parameters:
testsSkipped- The number of tests that were skipped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testsErrored
The number of tests that errored.
- Parameters:
testsErrored- The number of tests that errored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testsOther
The number of tests with other result types.
- Parameters:
testsOther- The number of tests with other result types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testsPassedPercentage
The percentage of tests that passed.
- Parameters:
testsPassedPercentage- The percentage of tests that passed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalTestExecutionDurationSeconds
TestReportMetrics.Builder totalTestExecutionDurationSeconds(Double totalTestExecutionDurationSeconds) The total execution duration of all tests in the job, in seconds.
- Parameters:
totalTestExecutionDurationSeconds- The total execution duration of all tests in the job, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
medianTestExecutionDurationSeconds
TestReportMetrics.Builder medianTestExecutionDurationSeconds(Double medianTestExecutionDurationSeconds) The median execution duration of tests in the job, in seconds.
- Parameters:
medianTestExecutionDurationSeconds- The median execution duration of tests in the job, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-