Class CfnFunctionPropsMixin.FileSystemConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnFunctionPropsMixin.FileSystemConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.FileSystemConfigProperty>
- Enclosing interface:
CfnFunctionPropsMixin.FileSystemConfigProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.FileSystemConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.FileSystemConfigProperty>
A builder for
CfnFunctionPropsMixin.FileSystemConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunctionPropsMixin.FileSystemConfigProperty.getArn()arn(IAccessPointRef arn) Sets the value ofCfnFunctionPropsMixin.FileSystemConfigProperty.getArn()build()Builds the configured instance.localMountPath(String localMountPath) Sets the value ofCfnFunctionPropsMixin.FileSystemConfigProperty.getLocalMountPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnFunctionPropsMixin.FileSystemConfigProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.- Returns:
this
-
arn
@Stability(Stable) public CfnFunctionPropsMixin.FileSystemConfigProperty.Builder arn(IAccessPointRef arn) Sets the value ofCfnFunctionPropsMixin.FileSystemConfigProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.- Returns:
this
-
localMountPath
@Stability(Stable) public CfnFunctionPropsMixin.FileSystemConfigProperty.Builder localMountPath(String localMountPath) Sets the value ofCfnFunctionPropsMixin.FileSystemConfigProperty.getLocalMountPath()- Parameters:
localMountPath- The path where the function can access the file system, starting with/mnt/.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.FileSystemConfigProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.FileSystemConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-