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