Class RootDirectory
- java.lang.Object
-
- software.amazon.awssdk.services.efs.model.RootDirectory
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RootDirectory.Builder,RootDirectory>
@Generated("software.amazon.awssdk:codegen") public final class RootDirectory extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RootDirectory.Builder,RootDirectory>
Specifies the directory on the Amazon EFS file system that the access point provides access to. The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point's
RootDirectoryand its subdirectories.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRootDirectory.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RootDirectory.Builderbuilder()CreationInfocreationInfo()(Optional) Specifies the POSIX IDs and permissions to apply to the access point'sRootDirectory.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpath()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RootDirectory.Builder>serializableBuilderClass()RootDirectory.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
path
public final 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.- Returns:
- 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.
-
creationInfo
public final 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.- Returns:
- (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.
-
toBuilder
public RootDirectory.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RootDirectory.Builder,RootDirectory>
-
builder
public static RootDirectory.Builder builder()
-
serializableBuilderClass
public static Class<? extends RootDirectory.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-