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