Class CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.greengrassv2.mixins.CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty>
- Enclosing interface:
CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty
@Stability(Stable)
public static final class CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerParams(IResolvable containerParams) isolationMode(String isolationMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerParams
@Stability(Stable) public CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty.Builder containerParams(IResolvable containerParams) Sets the value ofCfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty.getContainerParams()- Parameters:
containerParams- The parameters for the container in which the Lambda function runs.- Returns:
this
-
containerParams
@Stability(Stable) public CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty.Builder containerParams(CfnComponentVersionPropsMixin.LambdaContainerParamsProperty containerParams) Sets the value ofCfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty.getContainerParams()- Parameters:
containerParams- The parameters for the container in which the Lambda function runs.- Returns:
this
-
isolationMode
@Stability(Stable) public CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty.Builder isolationMode(String isolationMode) - Parameters:
isolationMode- The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container.Default:
GreengrassContainer- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty>- Returns:
- a new instance of
CfnComponentVersionPropsMixin.LambdaLinuxProcessParamsProperty - Throws:
NullPointerException- if any required attribute was not provided
-