Struct aws_sdk_datasync::types::FsxProtocolSmb
source · #[non_exhaustive]pub struct FsxProtocolSmb {
pub domain: Option<String>,
pub mount_options: Option<SmbMountOptions>,
pub password: String,
pub user: String,
}
Expand description
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your Amazon FSx for NetApp ONTAP file system. For more information, see Accessing FSx for ONTAP file systems.
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.domain: 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.
mount_options: Option<SmbMountOptions>
Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.
password: String
Specifies the password of a user who has permission to access your SVM.
user: 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.
Implementations§
source§impl FsxProtocolSmb
impl FsxProtocolSmb
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
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) -> Option<&SmbMountOptions>
pub fn 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) -> &str
pub fn password(&self) -> &str
Specifies the password of a user who has permission to access your SVM.
sourcepub fn user(&self) -> &str
pub fn user(&self) -> &str
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.
source§impl FsxProtocolSmb
impl FsxProtocolSmb
sourcepub fn builder() -> FsxProtocolSmbBuilder
pub fn builder() -> FsxProtocolSmbBuilder
Creates a new builder-style object to manufacture FsxProtocolSmb
.
Trait Implementations§
source§impl Clone for FsxProtocolSmb
impl Clone for FsxProtocolSmb
source§fn clone(&self) -> FsxProtocolSmb
fn clone(&self) -> FsxProtocolSmb
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FsxProtocolSmb
impl Debug for FsxProtocolSmb
source§impl PartialEq for FsxProtocolSmb
impl PartialEq for FsxProtocolSmb
impl StructuralPartialEq for FsxProtocolSmb
Auto Trait Implementations§
impl Freeze for FsxProtocolSmb
impl RefUnwindSafe for FsxProtocolSmb
impl Send for FsxProtocolSmb
impl Sync for FsxProtocolSmb
impl Unpin for FsxProtocolSmb
impl UnwindSafe for FsxProtocolSmb
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