Class CfnFunction.FunctionEnvironmentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.FunctionEnvironmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.FunctionEnvironmentProperty>
- Enclosing interface:
CfnFunction.FunctionEnvironmentProperty
@Stability(Stable)
public static final class CfnFunction.FunctionEnvironmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.FunctionEnvironmentProperty>
A builder for
CfnFunction.FunctionEnvironmentProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFunction.FunctionEnvironmentProperty.getVariables()
variables
(IResolvable variables) Sets the value ofCfnFunction.FunctionEnvironmentProperty.getVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
variables
@Stability(Stable) public CfnFunction.FunctionEnvironmentProperty.Builder variables(IResolvable variables) Sets the value ofCfnFunction.FunctionEnvironmentProperty.getVariables()
- Parameters:
variables
- the value to be set. This parameter is required.- Returns:
this
-
variables
@Stability(Stable) public CfnFunction.FunctionEnvironmentProperty.Builder variables(Map<String, String> variables) Sets the value ofCfnFunction.FunctionEnvironmentProperty.getVariables()
- Parameters:
variables
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.FunctionEnvironmentProperty>
- Returns:
- a new instance of
CfnFunction.FunctionEnvironmentProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-