Class CfnComponentVersion.LambdaContainerParamsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrassv2.CfnComponentVersion.LambdaContainerParamsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentVersion.LambdaContainerParamsProperty>
- Enclosing interface:
CfnComponentVersion.LambdaContainerParamsProperty
@Stability(Stable)
public static final class CfnComponentVersion.LambdaContainerParamsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentVersion.LambdaContainerParamsProperty>
A builder for
CfnComponentVersion.LambdaContainerParamsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getDevices()devices(IResolvable devices) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getDevices()memorySizeInKb(Number memorySizeInKb) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getMemorySizeInKb()mountRoSysfs(Boolean mountRoSysfs) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getMountRoSysfs()mountRoSysfs(IResolvable mountRoSysfs) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getMountRoSysfs()Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getVolumes()volumes(IResolvable volumes) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getVolumes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
devices
@Stability(Stable) public CfnComponentVersion.LambdaContainerParamsProperty.Builder devices(IResolvable devices) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getDevices()- Parameters:
devices- The list of system devices that the container can access.- Returns:
this
-
devices
@Stability(Stable) public CfnComponentVersion.LambdaContainerParamsProperty.Builder devices(List<? extends Object> devices) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getDevices()- Parameters:
devices- The list of system devices that the container can access.- Returns:
this
-
memorySizeInKb
@Stability(Stable) public CfnComponentVersion.LambdaContainerParamsProperty.Builder memorySizeInKb(Number memorySizeInKb) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getMemorySizeInKb()- Parameters:
memorySizeInKb- The memory size of the container, expressed in kilobytes. Default:16384(16 MB)- Returns:
this
-
mountRoSysfs
@Stability(Stable) public CfnComponentVersion.LambdaContainerParamsProperty.Builder mountRoSysfs(Boolean mountRoSysfs) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getMountRoSysfs()- Parameters:
mountRoSysfs- Whether or not the container can read information from the device's/sysfolder. Default:false- Returns:
this
-
mountRoSysfs
@Stability(Stable) public CfnComponentVersion.LambdaContainerParamsProperty.Builder mountRoSysfs(IResolvable mountRoSysfs) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getMountRoSysfs()- Parameters:
mountRoSysfs- Whether or not the container can read information from the device's/sysfolder. Default:false- Returns:
this
-
volumes
@Stability(Stable) public CfnComponentVersion.LambdaContainerParamsProperty.Builder volumes(IResolvable volumes) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getVolumes()- Parameters:
volumes- The list of volumes that the container can access.- Returns:
this
-
volumes
@Stability(Stable) public CfnComponentVersion.LambdaContainerParamsProperty.Builder volumes(List<? extends Object> volumes) Sets the value ofCfnComponentVersion.LambdaContainerParamsProperty.getVolumes()- Parameters:
volumes- The list of volumes that the container can access.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponentVersion.LambdaContainerParamsProperty>- Returns:
- a new instance of
CfnComponentVersion.LambdaContainerParamsProperty - Throws:
NullPointerException- if any required attribute was not provided
-