Interface RootDirectory.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RootDirectory.Builder,
,RootDirectory> SdkBuilder<RootDirectory.Builder,
,RootDirectory> SdkPojo
- Enclosing class:
RootDirectory
-
Method Summary
Modifier and TypeMethodDescriptiondefault RootDirectory.Builder
creationInfo
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
>Path
specified does not exist, EFS creates the root directory using theCreationInfo
settings when a client connects to an access point. When specifying theCreationInfo
, you must provide values for all properties.If you do not provide
CreationInfo
and the specifiedRootDirectory
>Path
does 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
>Path
specified does not exist, EFS creates the root directory using theCreationInfo
settings when a client connects to an access point. When specifying theCreationInfo
, you must provide values for all properties.If you do not provide
CreationInfo
and the specifiedRootDirectory
>Path
does 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
>Path
specified does not exist, EFS creates the root directory using theCreationInfo
settings when a client connects to an access point. When specifying theCreationInfo
, you must provide values for all properties.If you do not provide
CreationInfo
and the specifiedRootDirectory
>Path
does not exist, attempts to mount the file system using the access point will fail.CreationInfo.Builder
avoiding the need to create one manually viaCreationInfo.builder()
.When the
Consumer
completes,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:
-