Class CfnComponentVersionPropsMixin.LambdaDeviceMountProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrassv2.CfnComponentVersionPropsMixin.LambdaDeviceMountProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentVersionPropsMixin.LambdaDeviceMountProperty>
- Enclosing interface:
CfnComponentVersionPropsMixin.LambdaDeviceMountProperty
@Stability(Stable)
public static final class CfnComponentVersionPropsMixin.LambdaDeviceMountProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentVersionPropsMixin.LambdaDeviceMountProperty>
A builder for
CfnComponentVersionPropsMixin.LambdaDeviceMountProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupOwner(Boolean addGroupOwner) addGroupOwner(IResolvable addGroupOwner) build()Builds the configured instance.Sets the value ofCfnComponentVersionPropsMixin.LambdaDeviceMountProperty.getPath()permission(String permission) Sets the value ofCfnComponentVersionPropsMixin.LambdaDeviceMountProperty.getPermission()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addGroupOwner
@Stability(Stable) public CfnComponentVersionPropsMixin.LambdaDeviceMountProperty.Builder addGroupOwner(Boolean addGroupOwner) - Parameters:
addGroupOwner- Whether or not to add the component's system user as an owner of the device. Default:false- Returns:
this
-
addGroupOwner
@Stability(Stable) public CfnComponentVersionPropsMixin.LambdaDeviceMountProperty.Builder addGroupOwner(IResolvable addGroupOwner) - Parameters:
addGroupOwner- Whether or not to add the component's system user as an owner of the device. Default:false- Returns:
this
-
path
@Stability(Stable) public CfnComponentVersionPropsMixin.LambdaDeviceMountProperty.Builder path(String path) Sets the value ofCfnComponentVersionPropsMixin.LambdaDeviceMountProperty.getPath()- Parameters:
path- The mount path for the device in the file system.- Returns:
this
-
permission
@Stability(Stable) public CfnComponentVersionPropsMixin.LambdaDeviceMountProperty.Builder permission(String permission) Sets the value ofCfnComponentVersionPropsMixin.LambdaDeviceMountProperty.getPermission()- Parameters:
permission- The permission to access the device: read/only (ro) or read/write (rw). Default:ro- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponentVersionPropsMixin.LambdaDeviceMountProperty>- Returns:
- a new instance of
CfnComponentVersionPropsMixin.LambdaDeviceMountProperty - Throws:
NullPointerException- if any required attribute was not provided
-