@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NfsMountOptions extends Object implements Serializable, Cloneable, StructuredPojo
Represents the mount options that are available for DataSync to access an NFS location.
Constructor and Description |
---|
NfsMountOptions() |
Modifier and Type | Method and Description |
---|---|
NfsMountOptions |
clone() |
boolean |
equals(Object obj) |
String |
getVersion()
The specific NFS version that you want DataSync to use to mount your NFS share.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setVersion(String version)
The specific NFS version that you want DataSync to use to mount your NFS share.
|
String |
toString()
Returns a string representation of this object.
|
NfsMountOptions |
withVersion(NfsVersion version)
The specific NFS version that you want DataSync to use to mount your NFS share.
|
NfsMountOptions |
withVersion(String version)
The specific NFS version that you want DataSync to use to mount your NFS share.
|
public void setVersion(String version)
The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the
version specified, the sync will fail. If you don't specify a version, DataSync defaults to
AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the NFS
server.
You can specify the following NFS versions:
NFSv3 - stateless protocol version that allows for asynchronous writes on the server.
NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.
NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
version
- The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to
use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to
AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the
NFS server.
You can specify the following NFS versions:
NFSv3 - stateless protocol version that allows for asynchronous writes on the server.
NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.
NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
NfsVersion
public String getVersion()
The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the
version specified, the sync will fail. If you don't specify a version, DataSync defaults to
AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the NFS
server.
You can specify the following NFS versions:
NFSv3 - stateless protocol version that allows for asynchronous writes on the server.
NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.
NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the
NFS server.
You can specify the following NFS versions:
NFSv3 - stateless protocol version that allows for asynchronous writes on the server.
NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.
NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
NfsVersion
public NfsMountOptions withVersion(String version)
The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the
version specified, the sync will fail. If you don't specify a version, DataSync defaults to
AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the NFS
server.
You can specify the following NFS versions:
NFSv3 - stateless protocol version that allows for asynchronous writes on the server.
NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.
NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
version
- The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to
use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to
AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the
NFS server.
You can specify the following NFS versions:
NFSv3 - stateless protocol version that allows for asynchronous writes on the server.
NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.
NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
NfsVersion
public NfsMountOptions withVersion(NfsVersion version)
The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the
version specified, the sync will fail. If you don't specify a version, DataSync defaults to
AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the NFS
server.
You can specify the following NFS versions:
NFSv3 - stateless protocol version that allows for asynchronous writes on the server.
NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.
NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
version
- The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to
use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to
AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the
NFS server.
You can specify the following NFS versions:
NFSv3 - stateless protocol version that allows for asynchronous writes on the server.
NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.
NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.
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.