Struct aws_sdk_datasync::types::builders::FsxProtocolBuilder
source · #[non_exhaustive]pub struct FsxProtocolBuilder { /* private fields */ }
Expand description
A builder for FsxProtocol
.
Implementations§
source§impl FsxProtocolBuilder
impl FsxProtocolBuilder
sourcepub fn nfs(self, input: FsxProtocolNfs) -> Self
pub fn nfs(self, input: FsxProtocolNfs) -> Self
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for OpenZFS file system or FSx for ONTAP file system's storage virtual machine (SVM).
sourcepub fn set_nfs(self, input: Option<FsxProtocolNfs>) -> Self
pub fn set_nfs(self, input: Option<FsxProtocolNfs>) -> Self
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for OpenZFS file system or FSx for ONTAP file system's storage virtual machine (SVM).
sourcepub fn get_nfs(&self) -> &Option<FsxProtocolNfs>
pub fn get_nfs(&self) -> &Option<FsxProtocolNfs>
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for OpenZFS file system or FSx for ONTAP file system's storage virtual machine (SVM).
sourcepub fn smb(self, input: FsxProtocolSmb) -> Self
pub fn smb(self, input: FsxProtocolSmb) -> Self
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.
sourcepub fn set_smb(self, input: Option<FsxProtocolSmb>) -> Self
pub fn set_smb(self, input: Option<FsxProtocolSmb>) -> Self
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.
sourcepub fn get_smb(&self) -> &Option<FsxProtocolSmb>
pub fn get_smb(&self) -> &Option<FsxProtocolSmb>
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.
sourcepub fn build(self) -> FsxProtocol
pub fn build(self) -> FsxProtocol
Consumes the builder and constructs a FsxProtocol
.
Trait Implementations§
source§impl Clone for FsxProtocolBuilder
impl Clone for FsxProtocolBuilder
source§fn clone(&self) -> FsxProtocolBuilder
fn clone(&self) -> FsxProtocolBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FsxProtocolBuilder
impl Debug for FsxProtocolBuilder
source§impl Default for FsxProtocolBuilder
impl Default for FsxProtocolBuilder
source§fn default() -> FsxProtocolBuilder
fn default() -> FsxProtocolBuilder
source§impl PartialEq<FsxProtocolBuilder> for FsxProtocolBuilder
impl PartialEq<FsxProtocolBuilder> for FsxProtocolBuilder
source§fn eq(&self, other: &FsxProtocolBuilder) -> bool
fn eq(&self, other: &FsxProtocolBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.