Struct aws_sdk_datasync::types::FsxProtocol
source · #[non_exhaustive]pub struct FsxProtocol {
pub nfs: Option<FsxProtocolNfs>,
pub smb: Option<FsxProtocolSmb>,
}
Expand description
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.nfs: 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).
smb: Option<FsxProtocolSmb>
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.
Implementations§
source§impl FsxProtocol
impl FsxProtocol
sourcepub fn nfs(&self) -> Option<&FsxProtocolNfs>
pub fn 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) -> Option<&FsxProtocolSmb>
pub fn 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.
source§impl FsxProtocol
impl FsxProtocol
sourcepub fn builder() -> FsxProtocolBuilder
pub fn builder() -> FsxProtocolBuilder
Creates a new builder-style object to manufacture FsxProtocol
.
Trait Implementations§
source§impl Clone for FsxProtocol
impl Clone for FsxProtocol
source§fn clone(&self) -> FsxProtocol
fn clone(&self) -> FsxProtocol
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FsxProtocol
impl Debug for FsxProtocol
source§impl PartialEq<FsxProtocol> for FsxProtocol
impl PartialEq<FsxProtocol> for FsxProtocol
source§fn eq(&self, other: &FsxProtocol) -> bool
fn eq(&self, other: &FsxProtocol) -> bool
self
and other
values to be equal, and is used
by ==
.