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