Class EnvironmentOptions.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.EnvironmentOptions.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<EnvironmentOptions>
- Enclosing interface:
 - EnvironmentOptions
 
@Stability(Stable)
public static final class EnvironmentOptions.Builder
extends Object
implements software.amazon.jsii.Builder<EnvironmentOptions>
A builder for 
EnvironmentOptions- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.removeInEdge(Boolean removeInEdge) Sets the value ofEnvironmentOptions.getRemoveInEdge() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
removeInEdge
Sets the value ofEnvironmentOptions.getRemoveInEdge()- Parameters:
 removeInEdge- When used in Lambda@Edge via edgeArn() API, these environment variables will be removed. If not set, an error will be thrown.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<EnvironmentOptions>- Returns:
 - a new instance of 
EnvironmentOptions - Throws:
 NullPointerException- if any required attribute was not provided
 
 -