Class CfnAccessPointPropsMixin.RootDirectoryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.efs.CfnAccessPointPropsMixin.RootDirectoryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointPropsMixin.RootDirectoryProperty>
- Enclosing interface:
CfnAccessPointPropsMixin.RootDirectoryProperty
@Stability(Stable)
public static final class CfnAccessPointPropsMixin.RootDirectoryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointPropsMixin.RootDirectoryProperty>
A builder for
CfnAccessPointPropsMixin.RootDirectoryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.creationInfo(CfnAccessPointPropsMixin.CreationInfoProperty creationInfo) Sets the value ofCfnAccessPointPropsMixin.RootDirectoryProperty.getCreationInfo()creationInfo(IResolvable creationInfo) Sets the value ofCfnAccessPointPropsMixin.RootDirectoryProperty.getCreationInfo()Sets the value ofCfnAccessPointPropsMixin.RootDirectoryProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationInfo
@Stability(Stable) public CfnAccessPointPropsMixin.RootDirectoryProperty.Builder creationInfo(IResolvable creationInfo) Sets the value ofCfnAccessPointPropsMixin.RootDirectoryProperty.getCreationInfo()- Parameters:
creationInfo- (Optional) Specifies the POSIX IDs and permissions to apply to the access point'sRootDirectory. If theRootDirectory>Pathspecified does not exist, EFS creates the root directory using theCreationInfosettings when a client connects to an access point. When specifying theCreationInfo, you must provide values for all properties.If you do not provide
CreationInfoand the specifiedRootDirectory>Pathdoes not exist, attempts to mount the file system using the access point will fail.- Returns:
this
-
creationInfo
@Stability(Stable) public CfnAccessPointPropsMixin.RootDirectoryProperty.Builder creationInfo(CfnAccessPointPropsMixin.CreationInfoProperty creationInfo) Sets the value ofCfnAccessPointPropsMixin.RootDirectoryProperty.getCreationInfo()- Parameters:
creationInfo- (Optional) Specifies the POSIX IDs and permissions to apply to the access point'sRootDirectory. If theRootDirectory>Pathspecified does not exist, EFS creates the root directory using theCreationInfosettings when a client connects to an access point. When specifying theCreationInfo, you must provide values for all properties.If you do not provide
CreationInfoand the specifiedRootDirectory>Pathdoes not exist, attempts to mount the file system using the access point will fail.- Returns:
this
-
path
Sets the value ofCfnAccessPointPropsMixin.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 theCreationInfo.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessPointPropsMixin.RootDirectoryProperty>- Returns:
- a new instance of
CfnAccessPointPropsMixin.RootDirectoryProperty - Throws:
NullPointerException- if any required attribute was not provided
-