Class AccessPointProps.Builder
java.lang.Object
software.amazon.awscdk.services.efs.AccessPointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessPointProps>
- Enclosing interface:
AccessPointProps
@Stability(Stable)
public static final class AccessPointProps.Builder
extends Object
implements software.amazon.jsii.Builder<AccessPointProps>
A builder for
AccessPointProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofAccessPointOptions.getCreateAcl()
fileSystem
(IFileSystem fileSystem) Sets the value ofAccessPointProps.getFileSystem()
Sets the value ofAccessPointOptions.getPath()
Sets the value ofAccessPointOptions.getPosixUser()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystem
Sets the value ofAccessPointProps.getFileSystem()
- Parameters:
fileSystem
- The efs filesystem. This parameter is required.- Returns:
this
-
createAcl
Sets the value ofAccessPointOptions.getCreateAcl()
- Parameters:
createAcl
- Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. If the root directory specified bypath
does not exist, EFS creates the root directory and applies the permissions specified here. If the specifiedpath
does not exist, you must specifycreateAcl
.- Returns:
this
-
path
Sets the value ofAccessPointOptions.getPath()
- Parameters:
path
- Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system.- Returns:
this
-
posixUser
Sets the value ofAccessPointOptions.getPosixUser()
- Parameters:
posixUser
- The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. Specify this to enforce a user identity using an access point.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AccessPointProps>
- Returns:
- a new instance of
AccessPointProps
- Throws:
NullPointerException
- if any required attribute was not provided
-