Interface TestCase.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TestCase.Builder,
,TestCase> SdkBuilder<TestCase.Builder,
,TestCase> SdkPojo
- Enclosing class:
TestCase
public static interface TestCase.Builder
extends SdkPojo, CopyableBuilder<TestCase.Builder,TestCase>
-
Method Summary
Modifier and TypeMethodDescriptiondurationInNanoSeconds
(Long durationInNanoSeconds) The number of nanoseconds it took to run this test case.The date and time a test case expires.A message associated with a test case.The name of the test case.A string that is applied to a series of related test cases.The ARN of the report to which the test case belongs.The status returned by the test case after it was run.testRawDataPath
(String testRawDataPath) The path to the raw data file that contains the test result.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
-
reportArn
The ARN of the report to which the test case belongs.
- Parameters:
reportArn
- The ARN of the report to which the test case belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testRawDataPath
The path to the raw data file that contains the test result.
- Parameters:
testRawDataPath
- The path to the raw data file that contains the test result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests.
- Parameters:
prefix
- A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the test case.
- Parameters:
name
- The name of the test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status returned by the test case after it was run. Valid statuses are
SUCCEEDED
,FAILED
,ERROR
,SKIPPED
, andUNKNOWN
.- Parameters:
status
- The status returned by the test case after it was run. Valid statuses areSUCCEEDED
,FAILED
,ERROR
,SKIPPED
, andUNKNOWN
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationInNanoSeconds
The number of nanoseconds it took to run this test case.
- Parameters:
durationInNanoSeconds
- The number of nanoseconds it took to run this test case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
A message associated with a test case. For example, an error message or stack trace.
- Parameters:
message
- A message associated with a test case. For example, an error message or stack trace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expired
The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild.
- Parameters:
expired
- The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-