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