Struct aws_sdk_datasync::model::fsx_protocol::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FsxProtocol
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> FsxProtocol
pub fn build(self) -> FsxProtocol
Consumes the builder and constructs a FsxProtocol
.