@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NfsMountOptions extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how DataSync can access a location using the NFS protocol.
Constructor and Description |
---|
NfsMountOptions() |
Modifier and Type | Method and Description |
---|---|
NfsMountOptions |
clone() |
boolean |
equals(Object obj) |
String |
getVersion()
Specifies the NFS version that you want DataSync to use when mounting your NFS share.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setVersion(String version)
Specifies the NFS version that you want DataSync to use when mounting your NFS share.
|
String |
toString()
Returns a string representation of this object.
|
NfsMountOptions |
withVersion(NfsVersion version)
Specifies the NFS version that you want DataSync to use when mounting your NFS share.
|
NfsMountOptions |
withVersion(String version)
Specifies the NFS version that you want DataSync to use when mounting your NFS share.
|
public void setVersion(String version)
Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails.
You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.
NFS3
: Stateless protocol version that allows for asynchronous writes on the server.
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo file
systems.
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and parallel data
processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
version
- Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server
refuses to use the version specified, the task fails.
You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.
NFS3
: Stateless protocol version that allows for asynchronous writes on the server.
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo
file systems.
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and
parallel data processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
NfsVersion
public String getVersion()
Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails.
You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.
NFS3
: Stateless protocol version that allows for asynchronous writes on the server.
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo file
systems.
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and parallel data
processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.
NFS3
: Stateless protocol version that allows for asynchronous writes on the server.
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo
file systems.
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and
parallel data processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
NfsVersion
public NfsMountOptions withVersion(String version)
Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails.
You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.
NFS3
: Stateless protocol version that allows for asynchronous writes on the server.
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo file
systems.
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and parallel data
processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
version
- Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server
refuses to use the version specified, the task fails.
You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.
NFS3
: Stateless protocol version that allows for asynchronous writes on the server.
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo
file systems.
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and
parallel data processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
NfsVersion
public NfsMountOptions withVersion(NfsVersion version)
Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails.
You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.
NFS3
: Stateless protocol version that allows for asynchronous writes on the server.
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo file
systems.
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and parallel data
processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
version
- Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server
refuses to use the version specified, the task fails.
You can specify the following options:
AUTOMATIC
(default): DataSync chooses NFS version 4.1.
NFS3
: Stateless protocol version that allows for asynchronous writes on the server.
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo
file systems.
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and
parallel data processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
NfsVersion
public String toString()
toString
in class Object
Object.toString()
public NfsMountOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.