Class CfnFunction.EnvironmentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnFunction.EnvironmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.EnvironmentProperty>
- Enclosing interface:
- CfnFunction.EnvironmentProperty
@Stability(Stable)
public static final class CfnFunction.EnvironmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.EnvironmentProperty>
A builder for
CfnFunction.EnvironmentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunction.EnvironmentProperty.getVariables()variables(IResolvable variables) Sets the value ofCfnFunction.EnvironmentProperty.getVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
variables
Sets the value ofCfnFunction.EnvironmentProperty.getVariables()- Parameters:
variables- Environment variable key-value pairs. For more information, see Using Lambda environment variables .- Returns:
this
-
variables
@Stability(Stable) public CfnFunction.EnvironmentProperty.Builder variables(Map<String, String> variables) Sets the value ofCfnFunction.EnvironmentProperty.getVariables()- Parameters:
variables- Environment variable key-value pairs. For more information, see Using Lambda environment variables .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.EnvironmentProperty>- Returns:
- a new instance of
CfnFunction.EnvironmentProperty - Throws:
NullPointerException- if any required attribute was not provided
-