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