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