Struct aws_sdk_datasync::model::NfsMountOptions
source · #[non_exhaustive]pub struct NfsMountOptions { /* private fields */ }
Expand description
Specifies how DataSync can access a location using the NFS protocol.
Implementations§
source§impl NfsMountOptions
impl NfsMountOptions
sourcepub fn version(&self) -> Option<&NfsVersion>
pub fn version(&self) -> Option<&NfsVersion>
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.
source§impl NfsMountOptions
impl NfsMountOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NfsMountOptions
.
Trait Implementations§
source§impl Clone for NfsMountOptions
impl Clone for NfsMountOptions
source§fn clone(&self) -> NfsMountOptions
fn clone(&self) -> NfsMountOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NfsMountOptions
impl Debug for NfsMountOptions
source§impl PartialEq<NfsMountOptions> for NfsMountOptions
impl PartialEq<NfsMountOptions> for NfsMountOptions
source§fn eq(&self, other: &NfsMountOptions) -> bool
fn eq(&self, other: &NfsMountOptions) -> bool
self
and other
values to be equal, and is used
by ==
.