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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestCase.BuilderdurationInNanoSeconds(Long durationInNanoSeconds)The number of nanoseconds it took to run this test case.TestCase.Builderexpired(Instant expired)The date and time a test case expires.TestCase.Buildermessage(String message)A message associated with a test case.TestCase.Buildername(String name)The name of the test case.TestCase.Builderprefix(String prefix)A string that is applied to a series of related test cases.TestCase.BuilderreportArn(String reportArn)The ARN of the report to which the test case belongs.TestCase.Builderstatus(String status)The status returned by the test case after it was run.TestCase.BuildertestRawDataPath(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 Detail
-
reportArn
TestCase.Builder reportArn(String 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
TestCase.Builder testRawDataPath(String 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
TestCase.Builder prefix(String 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
TestCase.Builder name(String 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
TestCase.Builder status(String 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
TestCase.Builder durationInNanoSeconds(Long 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
TestCase.Builder message(String 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
TestCase.Builder expired(Instant 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.
-
-