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.
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.
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.
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 name that can mount the location and access the files, folders, and metadata that you need in the SVM.
If you provide a user in your Active Directory, note the following:
-
If you're using Directory Service for Microsoft Active Directory, the user must be a member of the Amazon Web Services Delegated FSx Administrators group.
-
If you're using a self-managed Active Directory, the user must be a member of either the Domain Admins group or a custom group that you specified for file system administration when you created your file system.
Make sure that the user has the permissions it needs to copy the data you want:
-
SE_TCB_NAME
: Required to set object ownership and file metadata. With this privilege, you also can copy NTFS discretionary access lists (DACLs). -
SE_SECURITY_NAME
: May be needed to copy NTFS system access control lists (SACLs). This operation specifically requires the Windows privilege, which is granted to members of the Domain Admins group. If you configure your task to copy SACLs, make sure that the user has the required privileges. For information about copying SACLs, see Ownership and permissions-related options.
sourcepub fn set_user(self, input: Option<String>) -> Self
pub fn set_user(self, input: Option<String>) -> Self
Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.
If you provide a user in your Active Directory, note the following:
-
If you're using Directory Service for Microsoft Active Directory, the user must be a member of the Amazon Web Services Delegated FSx Administrators group.
-
If you're using a self-managed Active Directory, the user must be a member of either the Domain Admins group or a custom group that you specified for file system administration when you created your file system.
Make sure that the user has the permissions it needs to copy the data you want:
-
SE_TCB_NAME
: Required to set object ownership and file metadata. With this privilege, you also can copy NTFS discretionary access lists (DACLs). -
SE_SECURITY_NAME
: May be needed to copy NTFS system access control lists (SACLs). This operation specifically requires the Windows privilege, which is granted to members of the Domain Admins group. If you configure your task to copy SACLs, make sure that the user has the required privileges. For information about copying SACLs, see Ownership and permissions-related options.
sourcepub fn get_user(&self) -> &Option<String>
pub fn get_user(&self) -> &Option<String>
Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.
If you provide a user in your Active Directory, note the following:
-
If you're using Directory Service for Microsoft Active Directory, the user must be a member of the Amazon Web Services Delegated FSx Administrators group.
-
If you're using a self-managed Active Directory, the user must be a member of either the Domain Admins group or a custom group that you specified for file system administration when you created your file system.
Make sure that the user has the permissions it needs to copy the data you want:
-
SE_TCB_NAME
: Required to set object ownership and file metadata. With this privilege, you also can copy NTFS discretionary access lists (DACLs). -
SE_SECURITY_NAME
: May be needed to copy NTFS system access control lists (SACLs). This operation specifically requires the Windows privilege, which is granted to members of the Domain Admins group. If you configure your task to copy SACLs, make sure that the user has the required privileges. For information about copying SACLs, see Ownership and permissions-related options.
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 ==
.