Interface RootDirectory.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RootDirectory.Builder,RootDirectory>,SdkBuilder<RootDirectory.Builder,RootDirectory>,SdkPojo
- Enclosing class:
- RootDirectory
public static interface RootDirectory.Builder extends SdkPojo, CopyableBuilder<RootDirectory.Builder,RootDirectory>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RootDirectory.BuildercreationInfo(Consumer<CreationInfo.Builder> creationInfo)(Optional) Specifies the POSIX IDs and permissions to apply to the access point'sRootDirectory.RootDirectory.BuildercreationInfo(CreationInfo creationInfo)(Optional) Specifies the POSIX IDs and permissions to apply to the access point'sRootDirectory.RootDirectory.Builderpath(String 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.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
path
RootDirectory.Builder path(String 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
RootDirectory.Builder creationInfo(CreationInfo 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
default RootDirectory.Builder creationInfo(Consumer<CreationInfo.Builder> 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:
creationInfo(CreationInfo)
-
-