Class CfnStudioComponent.ScriptParameterKeyValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.nimblestudio.CfnStudioComponent.ScriptParameterKeyValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioComponent.ScriptParameterKeyValueProperty>
- Enclosing interface:
- CfnStudioComponent.ScriptParameterKeyValueProperty
@Stability(Stable)
public static final class CfnStudioComponent.ScriptParameterKeyValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioComponent.ScriptParameterKeyValueProperty>
A builder for
CfnStudioComponent.ScriptParameterKeyValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnStudioComponent.ScriptParameterKeyValueProperty.getKey()
Sets the value ofCfnStudioComponent.ScriptParameterKeyValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
@Stability(Stable) public CfnStudioComponent.ScriptParameterKeyValueProperty.Builder key(String key) Sets the value ofCfnStudioComponent.ScriptParameterKeyValueProperty.getKey()
- Parameters:
key
- A script parameter key.- Returns:
this
-
value
@Stability(Stable) public CfnStudioComponent.ScriptParameterKeyValueProperty.Builder value(String value) Sets the value ofCfnStudioComponent.ScriptParameterKeyValueProperty.getValue()
- Parameters:
value
- A script parameter value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStudioComponent.ScriptParameterKeyValueProperty>
- Returns:
- a new instance of
CfnStudioComponent.ScriptParameterKeyValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-