@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RootDirectory extends Object implements Serializable, Cloneable, StructuredPojo
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 RootDirectory
and
it's subdirectories.
Constructor and Description |
---|
RootDirectory() |
Modifier and Type | Method and Description |
---|---|
RootDirectory |
clone() |
boolean |
equals(Object obj) |
CreationInfo |
getCreationInfo()
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory . |
String |
getPath()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationInfo(CreationInfo creationInfo)
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory . |
void |
setPath(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.
|
String |
toString()
Returns a string representation of this object.
|
RootDirectory |
withCreationInfo(CreationInfo creationInfo)
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory . |
RootDirectory |
withPath(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.
|
public void setPath(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
.
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
.public String getPath()
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 RootDirectory withPath(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
.
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
.public void setCreationInfo(CreationInfo creationInfo)
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory
. If
the RootDirectory
> Path
specified does not exist, EFS creates the root directory
using the CreationInfo
settings when a client connects to an access point. When specifying the
CreationInfo
, you must provide values for all properties.
If you do not provide CreationInfo
and the specified RootDirectory
>
Path
does not exist, attempts to mount the file system using the access point will fail.
creationInfo
- (Optional) Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory
. If the RootDirectory
> Path
specified does not
exist, EFS creates the root directory using the CreationInfo
settings when a client connects
to an access point. When specifying the CreationInfo
, you must provide values for all
properties.
If you do not provide CreationInfo
and the specified RootDirectory
>
Path
does not exist, attempts to mount the file system using the access point will fail.
public CreationInfo getCreationInfo()
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory
. If
the RootDirectory
> Path
specified does not exist, EFS creates the root directory
using the CreationInfo
settings when a client connects to an access point. When specifying the
CreationInfo
, you must provide values for all properties.
If you do not provide CreationInfo
and the specified RootDirectory
>
Path
does not exist, attempts to mount the file system using the access point will fail.
RootDirectory
. If the RootDirectory
> Path
specified does not
exist, EFS creates the root directory using the CreationInfo
settings when a client connects
to an access point. When specifying the CreationInfo
, you must provide values for all
properties.
If you do not provide CreationInfo
and the specified RootDirectory
>
Path
does not exist, attempts to mount the file system using the access point will fail.
public RootDirectory withCreationInfo(CreationInfo creationInfo)
(Optional) Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory
. If
the RootDirectory
> Path
specified does not exist, EFS creates the root directory
using the CreationInfo
settings when a client connects to an access point. When specifying the
CreationInfo
, you must provide values for all properties.
If you do not provide CreationInfo
and the specified RootDirectory
>
Path
does not exist, attempts to mount the file system using the access point will fail.
creationInfo
- (Optional) Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory
. If the RootDirectory
> Path
specified does not
exist, EFS creates the root directory using the CreationInfo
settings when a client connects
to an access point. When specifying the CreationInfo
, you must provide values for all
properties.
If you do not provide CreationInfo
and the specified RootDirectory
>
Path
does not exist, attempts to mount the file system using the access point will fail.
public String toString()
toString
in class Object
Object.toString()
public RootDirectory clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.