Class CfnAccessPointProps.Builder
java.lang.Object
software.amazon.awscdk.services.efs.CfnAccessPointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointProps>
- Enclosing interface:
CfnAccessPointProps
@Stability(Stable)
public static final class CfnAccessPointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointProps>
A builder for
CfnAccessPointProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointTags
(List<? extends Object> accessPointTags) Sets the value ofCfnAccessPointProps.getAccessPointTags()
accessPointTags
(IResolvable accessPointTags) Sets the value ofCfnAccessPointProps.getAccessPointTags()
build()
Builds the configured instance.clientToken
(String clientToken) Sets the value ofCfnAccessPointProps.getClientToken()
fileSystemId
(String fileSystemId) Sets the value ofCfnAccessPointProps.getFileSystemId()
posixUser
(IResolvable posixUser) Sets the value ofCfnAccessPointProps.getPosixUser()
posixUser
(CfnAccessPoint.PosixUserProperty posixUser) Sets the value ofCfnAccessPointProps.getPosixUser()
rootDirectory
(IResolvable rootDirectory) Sets the value ofCfnAccessPointProps.getRootDirectory()
rootDirectory
(CfnAccessPoint.RootDirectoryProperty rootDirectory) Sets the value ofCfnAccessPointProps.getRootDirectory()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemId
Sets the value ofCfnAccessPointProps.getFileSystemId()
- Parameters:
fileSystemId
- The ID of the EFS file system that the access point applies to. This parameter is required. Accepts only the ID format for input when specifying a file system, for examplefs-0123456789abcedf2
.- Returns:
this
-
accessPointTags
Sets the value ofCfnAccessPointProps.getAccessPointTags()
- Parameters:
accessPointTags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
accessPointTags
@Stability(Stable) public CfnAccessPointProps.Builder accessPointTags(List<? extends Object> accessPointTags) Sets the value ofCfnAccessPointProps.getAccessPointTags()
- Parameters:
accessPointTags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
clientToken
Sets the value ofCfnAccessPointProps.getClientToken()
- Parameters:
clientToken
- The opaque string specified in the request to ensure idempotent creation.- Returns:
this
-
posixUser
Sets the value ofCfnAccessPointProps.getPosixUser()
- Parameters:
posixUser
- The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point.- Returns:
this
-
posixUser
@Stability(Stable) public CfnAccessPointProps.Builder posixUser(CfnAccessPoint.PosixUserProperty posixUser) Sets the value ofCfnAccessPointProps.getPosixUser()
- Parameters:
posixUser
- The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point.- Returns:
this
-
rootDirectory
Sets the value ofCfnAccessPointProps.getRootDirectory()
- Parameters:
rootDirectory
- The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients using the access point.- Returns:
this
-
rootDirectory
@Stability(Stable) public CfnAccessPointProps.Builder rootDirectory(CfnAccessPoint.RootDirectoryProperty rootDirectory) Sets the value ofCfnAccessPointProps.getRootDirectory()
- Parameters:
rootDirectory
- The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients using the access point.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPointProps>
- Returns:
- a new instance of
CfnAccessPointProps
- Throws:
NullPointerException
- if any required attribute was not provided
-