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 for FsxProtocolBuilder
impl PartialEq for FsxProtocolBuilder
impl StructuralPartialEq for FsxProtocolBuilder
Auto Trait Implementations§
impl Freeze for FsxProtocolBuilder
impl RefUnwindSafe for FsxProtocolBuilder
impl Send for FsxProtocolBuilder
impl Sync for FsxProtocolBuilder
impl Unpin for FsxProtocolBuilder
impl UnwindSafe for FsxProtocolBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more