Class CfnAccessPoint.RootDirectoryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3files.CfnAccessPoint.RootDirectoryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint.RootDirectoryProperty>
- Enclosing interface:
CfnAccessPoint.RootDirectoryProperty
@Stability(Stable)
public static final class CfnAccessPoint.RootDirectoryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPoint.RootDirectoryProperty>
A builder for
CfnAccessPoint.RootDirectoryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.creationPermissions(IResolvable creationPermissions) Sets the value ofCfnAccessPoint.RootDirectoryProperty.getCreationPermissions()creationPermissions(CfnAccessPoint.CreationPermissionsProperty creationPermissions) Sets the value ofCfnAccessPoint.RootDirectoryProperty.getCreationPermissions()Sets the value ofCfnAccessPoint.RootDirectoryProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationPermissions
@Stability(Stable) public CfnAccessPoint.RootDirectoryProperty.Builder creationPermissions(IResolvable creationPermissions) Sets the value ofCfnAccessPoint.RootDirectoryProperty.getCreationPermissions()- Parameters:
creationPermissions- the value to be set.- Returns:
this
-
creationPermissions
@Stability(Stable) public CfnAccessPoint.RootDirectoryProperty.Builder creationPermissions(CfnAccessPoint.CreationPermissionsProperty creationPermissions) Sets the value ofCfnAccessPoint.RootDirectoryProperty.getCreationPermissions()- Parameters:
creationPermissions- the value to be set.- Returns:
this
-
path
Sets the value ofCfnAccessPoint.RootDirectoryProperty.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. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationPermissions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessPoint.RootDirectoryProperty>- Returns:
- a new instance of
CfnAccessPoint.RootDirectoryProperty - Throws:
NullPointerException- if any required attribute was not provided
-