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