Class CfnAccessPointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.efs.CfnAccessPointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointMixinProps>
- Enclosing interface:
CfnAccessPointMixinProps
@Stability(Stable)
public static final class CfnAccessPointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointMixinProps>
A builder for
CfnAccessPointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPointTags(List<? extends CfnAccessPointPropsMixin.AccessPointTagProperty> accessPointTags) Sets the value ofCfnAccessPointMixinProps.getAccessPointTags()build()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnAccessPointMixinProps.getClientToken()fileSystemId(String fileSystemId) Sets the value ofCfnAccessPointMixinProps.getFileSystemId()fileSystemId(IFileSystemRef fileSystemId) Sets the value ofCfnAccessPointMixinProps.getFileSystemId()Sets the value ofCfnAccessPointMixinProps.getPosixUser()posixUser(IResolvable posixUser) Sets the value ofCfnAccessPointMixinProps.getPosixUser()rootDirectory(CfnAccessPointPropsMixin.RootDirectoryProperty rootDirectory) Sets the value ofCfnAccessPointMixinProps.getRootDirectory()rootDirectory(IResolvable rootDirectory) Sets the value ofCfnAccessPointMixinProps.getRootDirectory()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPointTags
@Stability(Stable) public CfnAccessPointMixinProps.Builder accessPointTags(List<? extends CfnAccessPointPropsMixin.AccessPointTagProperty> accessPointTags) Sets the value ofCfnAccessPointMixinProps.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 ofCfnAccessPointMixinProps.getClientToken()- Parameters:
clientToken- The opaque string specified in the request to ensure idempotent creation.- Returns:
this
-
fileSystemId
Sets the value ofCfnAccessPointMixinProps.getFileSystemId()- Parameters:
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 examplefs-0123456789abcedf2.- Returns:
this
-
fileSystemId
@Stability(Stable) public CfnAccessPointMixinProps.Builder fileSystemId(IFileSystemRef fileSystemId) Sets the value ofCfnAccessPointMixinProps.getFileSystemId()- Parameters:
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 examplefs-0123456789abcedf2.- Returns:
this
-
posixUser
Sets the value ofCfnAccessPointMixinProps.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 CfnAccessPointMixinProps.Builder posixUser(CfnAccessPointPropsMixin.PosixUserProperty posixUser) Sets the value ofCfnAccessPointMixinProps.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 ofCfnAccessPointMixinProps.getRootDirectory()- Parameters:
rootDirectory- The directory on the 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 CfnAccessPointMixinProps.Builder rootDirectory(CfnAccessPointPropsMixin.RootDirectoryProperty rootDirectory) Sets the value ofCfnAccessPointMixinProps.getRootDirectory()- Parameters:
rootDirectory- The directory on the 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessPointMixinProps>- Returns:
- a new instance of
CfnAccessPointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-