Class CfnTestCase.TestCaseLatestVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apptest.CfnTestCase.TestCaseLatestVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestCase.TestCaseLatestVersionProperty>
- Enclosing interface:
CfnTestCase.TestCaseLatestVersionProperty
@Stability(Stable)
public static final class CfnTestCase.TestCaseLatestVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestCase.TestCaseLatestVersionProperty>
A builder for
CfnTestCase.TestCaseLatestVersionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTestCase.TestCaseLatestVersionProperty.getStatus()Sets the value ofCfnTestCase.TestCaseLatestVersionProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnTestCase.TestCaseLatestVersionProperty.getStatus()- Parameters:
status- The status of the test case latest version. This parameter is required.- Returns:
this
-
version
Sets the value ofCfnTestCase.TestCaseLatestVersionProperty.getVersion()- Parameters:
version- The version of the test case latest version. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTestCase.TestCaseLatestVersionProperty>- Returns:
- a new instance of
CfnTestCase.TestCaseLatestVersionProperty - Throws:
NullPointerException- if any required attribute was not provided
-