Interface RootDirectory.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RootDirectory.Builder,,RootDirectory> SdkBuilder<RootDirectory.Builder,,RootDirectory> SdkPojo
- Enclosing class:
RootDirectory
-
Method Summary
Modifier and TypeMethodDescriptiondefault RootDirectory.BuildercreationInfo(Consumer<CreationInfo.Builder> creationInfo) (Optional) Specifies the POSIX IDs and permissions to apply to the access point'sRootDirectory.creationInfo(CreationInfo creationInfo) (Optional) Specifies the POSIX IDs and permissions to apply to the access point'sRootDirectory.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
CreationInfo.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
creationInfo
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory. 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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
creationInfo
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory. 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. This is a convenience method that creates an instance of theIf you do not provide
CreationInfoand the specifiedRootDirectory>Pathdoes not exist, attempts to mount the file system using the access point will fail.CreationInfo.Builderavoiding the need to create one manually viaCreationInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreationInfo(CreationInfo).- Parameters:
creationInfo- a consumer that will call methods onCreationInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-