public static final class FileSystemConfig.Builder
extends java.lang.Object
FileSystemConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FileSystemConfig.Builder |
arn(java.lang.String arn)
Sets the value of
FileSystemConfig.getArn() |
FileSystemConfig |
build()
Builds the configured instance.
|
FileSystemConfig.Builder |
connections(Connections connections)
Sets the value of
FileSystemConfig.getConnections() |
FileSystemConfig.Builder |
dependency(java.util.List<? extends IDependable> dependency)
Sets the value of
FileSystemConfig.getDependency() |
FileSystemConfig.Builder |
localMountPath(java.lang.String localMountPath)
Sets the value of
FileSystemConfig.getLocalMountPath() |
FileSystemConfig.Builder |
policies(java.util.List<? extends PolicyStatement> policies)
Sets the value of
FileSystemConfig.getPolicies() |
public FileSystemConfig.Builder arn(java.lang.String arn)
FileSystemConfig.getArn()
arn
- ARN of the access point. This parameter is required.this
public FileSystemConfig.Builder localMountPath(java.lang.String localMountPath)
FileSystemConfig.getLocalMountPath()
localMountPath
- mount path in the lambda runtime environment. This parameter is required.this
public FileSystemConfig.Builder connections(Connections connections)
FileSystemConfig.getConnections()
connections
- connections object used to allow ingress traffic from lambda function.this
public FileSystemConfig.Builder dependency(java.util.List<? extends IDependable> dependency)
FileSystemConfig.getDependency()
dependency
- array of IDependable that lambda function depends on.this
public FileSystemConfig.Builder policies(java.util.List<? extends PolicyStatement> policies)
FileSystemConfig.getPolicies()
policies
- additional IAM policies required for the lambda function.this
public FileSystemConfig build()
FileSystemConfig
java.lang.NullPointerException
- if any required attribute was not provided