@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EFSVolumeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
This parameter is specified when you are using an Amazon Elastic File System (Amazon EFS) file storage. Amazon EFS file systems are only supported when you are using the EC2 launch type.
EFSVolumeConfiguration
remains in preview and is a Beta Service as defined by and subject to the Beta
Service Participation Service Terms located at https://aws.amazon.com/service-terms ("Beta Terms"). These Beta Terms
apply to your participation in this preview of EFSVolumeConfiguration
.
Constructor and Description |
---|
EFSVolumeConfiguration() |
Modifier and Type | Method and Description |
---|---|
EFSVolumeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getFileSystemId()
The Amazon EFS file system ID to use.
|
String |
getRootDirectory()
The directory within the Amazon EFS file system to mount as the root directory inside the host.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFileSystemId(String fileSystemId)
The Amazon EFS file system ID to use.
|
void |
setRootDirectory(String rootDirectory)
The directory within the Amazon EFS file system to mount as the root directory inside the host.
|
String |
toString()
Returns a string representation of this object.
|
EFSVolumeConfiguration |
withFileSystemId(String fileSystemId)
The Amazon EFS file system ID to use.
|
EFSVolumeConfiguration |
withRootDirectory(String rootDirectory)
The directory within the Amazon EFS file system to mount as the root directory inside the host.
|
public void setFileSystemId(String fileSystemId)
The Amazon EFS file system ID to use.
fileSystemId
- The Amazon EFS file system ID to use.public String getFileSystemId()
The Amazon EFS file system ID to use.
public EFSVolumeConfiguration withFileSystemId(String fileSystemId)
The Amazon EFS file system ID to use.
fileSystemId
- The Amazon EFS file system ID to use.public void setRootDirectory(String rootDirectory)
The directory within the Amazon EFS file system to mount as the root directory inside the host.
rootDirectory
- The directory within the Amazon EFS file system to mount as the root directory inside the host.public String getRootDirectory()
The directory within the Amazon EFS file system to mount as the root directory inside the host.
public EFSVolumeConfiguration withRootDirectory(String rootDirectory)
The directory within the Amazon EFS file system to mount as the root directory inside the host.
rootDirectory
- The directory within the Amazon EFS file system to mount as the root directory inside the host.public String toString()
toString
in class Object
Object.toString()
public EFSVolumeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.