Class TestCaseReference.Builder
java.lang.Object
software.amazon.awscdk.services.apptest.TestCaseReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TestCaseReference>
- Enclosing interface:
TestCaseReference
@Stability(Stable)
public static final class TestCaseReference.Builder
extends Object
implements software.amazon.jsii.Builder<TestCaseReference>
A builder for
TestCaseReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.testCaseArn
(String testCaseArn) Sets the value ofTestCaseReference.getTestCaseArn()
testCaseId
(String testCaseId) Sets the value ofTestCaseReference.getTestCaseId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
testCaseArn
Sets the value ofTestCaseReference.getTestCaseArn()
- Parameters:
testCaseArn
- The ARN of the TestCase resource. This parameter is required.- Returns:
this
-
testCaseId
Sets the value ofTestCaseReference.getTestCaseId()
- Parameters:
testCaseId
- The TestCaseId of the TestCase resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TestCaseReference>
- Returns:
- a new instance of
TestCaseReference
- Throws:
NullPointerException
- if any required attribute was not provided
-