Class CfnAccessPoint.Builder
java.lang.Object
software.amazon.awscdk.services.efs.CfnAccessPoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint>
- Enclosing class:
CfnAccessPoint
@Stability(Stable)
public static final class CfnAccessPoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPoint>
A fluent builder for
CfnAccessPoint
.-
Method Summary
Modifier and TypeMethodDescriptionaccessPointTags
(List<? extends CfnAccessPoint.AccessPointTagProperty> accessPointTags) An array of key-value pairs to apply to this resource.build()
clientToken
(String clientToken) The opaque string specified in the request to ensure idempotent creation.static CfnAccessPoint.Builder
fileSystemId
(String fileSystemId) The ID of the EFS file system that the access point applies to.posixUser
(IResolvable 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.posixUser
(CfnAccessPoint.PosixUserProperty 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.rootDirectory
(IResolvable 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.rootDirectory
(CfnAccessPoint.RootDirectoryProperty 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.
-
Method Details
-
create
@Stability(Stable) public static CfnAccessPoint.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAccessPoint.Builder
.
-
fileSystemId
The ID of the EFS file system that the access point applies to.Accepts only the ID format for input when specifying a file system, for example
fs-0123456789abcedf2
.- Parameters:
fileSystemId
- The ID of the EFS file system that the access point applies to. This parameter is required.- Returns:
this
- See Also:
-
accessPointTags
@Stability(Stable) public CfnAccessPoint.Builder accessPointTags(List<? extends CfnAccessPoint.AccessPointTagProperty> accessPointTags) An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
accessPointTags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
clientToken
The opaque string specified in the request to ensure idempotent creation.- Parameters:
clientToken
- The opaque string specified in the request to ensure idempotent creation. This parameter is required.- Returns:
this
- See Also:
-
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.- 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. This parameter is required.- Returns:
this
- See Also:
-
posixUser
@Stability(Stable) public CfnAccessPoint.Builder posixUser(CfnAccessPoint.PosixUserProperty 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.- 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. This parameter is required.- Returns:
this
- See Also:
-
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.- 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. This parameter is required.- Returns:
this
- See Also:
-
rootDirectory
@Stability(Stable) public CfnAccessPoint.Builder rootDirectory(CfnAccessPoint.RootDirectoryProperty 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.- 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. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPoint>
- Returns:
- a newly built instance of
CfnAccessPoint
.
-