Struct aws_sdk_datasync::types::builders::FsxProtocolSmbBuilder
source · #[non_exhaustive]pub struct FsxProtocolSmbBuilder { /* private fields */ }
Expand description
A builder for FsxProtocolSmb
.
Implementations§
source§impl FsxProtocolSmbBuilder
impl FsxProtocolSmbBuilder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to.
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to.
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to.
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
sourcepub fn mount_options(self, input: SmbMountOptions) -> Self
pub fn mount_options(self, input: SmbMountOptions) -> Self
Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.
sourcepub fn set_mount_options(self, input: Option<SmbMountOptions>) -> Self
pub fn set_mount_options(self, input: Option<SmbMountOptions>) -> Self
Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.
sourcepub fn get_mount_options(&self) -> &Option<SmbMountOptions>
pub fn get_mount_options(&self) -> &Option<SmbMountOptions>
Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
Specifies the password of a user who has permission to access your SVM.
This field is required.sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
Specifies the password of a user who has permission to access your SVM.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
Specifies the password of a user who has permission to access your SVM.
sourcepub fn user(self, input: impl Into<String>) -> Self
pub fn user(self, input: impl Into<String>) -> Self
Specifies a user that can mount and access the files, folders, and metadata in your SVM.
For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol.
This field is required.sourcepub fn set_user(self, input: Option<String>) -> Self
pub fn set_user(self, input: Option<String>) -> Self
Specifies a user that can mount and access the files, folders, and metadata in your SVM.
For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol.
sourcepub fn get_user(&self) -> &Option<String>
pub fn get_user(&self) -> &Option<String>
Specifies a user that can mount and access the files, folders, and metadata in your SVM.
For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol.
sourcepub fn build(self) -> Result<FsxProtocolSmb, BuildError>
pub fn build(self) -> Result<FsxProtocolSmb, BuildError>
Consumes the builder and constructs a FsxProtocolSmb
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FsxProtocolSmbBuilder
impl Clone for FsxProtocolSmbBuilder
source§fn clone(&self) -> FsxProtocolSmbBuilder
fn clone(&self) -> FsxProtocolSmbBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FsxProtocolSmbBuilder
impl Debug for FsxProtocolSmbBuilder
source§impl Default for FsxProtocolSmbBuilder
impl Default for FsxProtocolSmbBuilder
source§fn default() -> FsxProtocolSmbBuilder
fn default() -> FsxProtocolSmbBuilder
source§impl PartialEq for FsxProtocolSmbBuilder
impl PartialEq for FsxProtocolSmbBuilder
source§fn eq(&self, other: &FsxProtocolSmbBuilder) -> bool
fn eq(&self, other: &FsxProtocolSmbBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FsxProtocolSmbBuilder
Auto Trait Implementations§
impl Freeze for FsxProtocolSmbBuilder
impl RefUnwindSafe for FsxProtocolSmbBuilder
impl Send for FsxProtocolSmbBuilder
impl Sync for FsxProtocolSmbBuilder
impl Unpin for FsxProtocolSmbBuilder
impl UnwindSafe for FsxProtocolSmbBuilder
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