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