Class LambdaRuntimeProps.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.LambdaRuntimeProps.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<LambdaRuntimeProps>
- Enclosing interface:
 - LambdaRuntimeProps
 
@Stability(Stable)
public static final class LambdaRuntimeProps.Builder
extends Object
implements software.amazon.jsii.Builder<LambdaRuntimeProps>
A builder for 
LambdaRuntimeProps- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.bundlingDockerImage(String bundlingDockerImage) Sets the value ofLambdaRuntimeProps.getBundlingDockerImage()supportsCodeGuruProfiling(Boolean supportsCodeGuruProfiling) Sets the value ofLambdaRuntimeProps.getSupportsCodeGuruProfiling()supportsInlineCode(Boolean supportsInlineCode) Sets the value ofLambdaRuntimeProps.getSupportsInlineCode() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
bundlingDockerImage
@Stability(Stable) public LambdaRuntimeProps.Builder bundlingDockerImage(String bundlingDockerImage) Sets the value ofLambdaRuntimeProps.getBundlingDockerImage()- Parameters:
 bundlingDockerImage- The Docker image name to be used for bundling in this runtime.- Returns:
 this
 - 
supportsCodeGuruProfiling
@Stability(Stable) public LambdaRuntimeProps.Builder supportsCodeGuruProfiling(Boolean supportsCodeGuruProfiling) Sets the value ofLambdaRuntimeProps.getSupportsCodeGuruProfiling()- Parameters:
 supportsCodeGuruProfiling- Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.- Returns:
 this
 - 
supportsInlineCode
Sets the value ofLambdaRuntimeProps.getSupportsInlineCode()- Parameters:
 supportsInlineCode- Whether theZipFile(aka inline code) property can be used with this runtime.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<LambdaRuntimeProps>- Returns:
 - a new instance of 
LambdaRuntimeProps - Throws:
 NullPointerException- if any required attribute was not provided
 
 -