Struct aws_sdk_datasync::types::builders::NfsMountOptionsBuilder
source · #[non_exhaustive]pub struct NfsMountOptionsBuilder { /* private fields */ }
Expand description
A builder for NfsMountOptions
.
Implementations§
source§impl NfsMountOptionsBuilder
impl NfsMountOptionsBuilder
sourcepub fn version(self, input: NfsVersion) -> Self
pub fn version(self, input: NfsVersion) -> Self
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.
sourcepub fn set_version(self, input: Option<NfsVersion>) -> Self
pub fn set_version(self, input: Option<NfsVersion>) -> Self
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.
sourcepub fn get_version(&self) -> &Option<NfsVersion>
pub fn get_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.
sourcepub fn build(self) -> NfsMountOptions
pub fn build(self) -> NfsMountOptions
Consumes the builder and constructs a NfsMountOptions
.
Trait Implementations§
source§impl Clone for NfsMountOptionsBuilder
impl Clone for NfsMountOptionsBuilder
source§fn clone(&self) -> NfsMountOptionsBuilder
fn clone(&self) -> NfsMountOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NfsMountOptionsBuilder
impl Debug for NfsMountOptionsBuilder
source§impl Default for NfsMountOptionsBuilder
impl Default for NfsMountOptionsBuilder
source§fn default() -> NfsMountOptionsBuilder
fn default() -> NfsMountOptionsBuilder
source§impl PartialEq for NfsMountOptionsBuilder
impl PartialEq for NfsMountOptionsBuilder
source§fn eq(&self, other: &NfsMountOptionsBuilder) -> bool
fn eq(&self, other: &NfsMountOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.