Struct aws_sdk_datasync::operation::create_location_fsx_windows::builders::CreateLocationFsxWindowsInputBuilder
source · #[non_exhaustive]pub struct CreateLocationFsxWindowsInputBuilder { /* private fields */ }
Expand description
A builder for CreateLocationFsxWindowsInput
.
Implementations§
source§impl CreateLocationFsxWindowsInputBuilder
impl CreateLocationFsxWindowsInputBuilder
sourcepub fn subdirectory(self, input: impl Into<String>) -> Self
pub fn subdirectory(self, input: impl Into<String>) -> Self
Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).
sourcepub fn set_subdirectory(self, input: Option<String>) -> Self
pub fn set_subdirectory(self, input: Option<String>) -> Self
Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).
sourcepub fn get_subdirectory(&self) -> &Option<String>
pub fn get_subdirectory(&self) -> &Option<String>
Specifies a mount path for your file system using forward slashes. This is where DataSync reads or writes data (depending on if this is a source or destination location).
sourcepub fn fsx_filesystem_arn(self, input: impl Into<String>) -> Self
pub fn fsx_filesystem_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
This field is required.sourcepub fn set_fsx_filesystem_arn(self, input: Option<String>) -> Self
pub fn set_fsx_filesystem_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
sourcepub fn get_fsx_filesystem_arn(&self) -> &Option<String>
pub fn get_fsx_filesystem_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
sourcepub fn security_group_arns(self, input: impl Into<String>) -> Self
pub fn security_group_arns(self, input: impl Into<String>) -> Self
Appends an item to security_group_arns
.
To override the contents of this collection use set_security_group_arns
.
Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.
If you choose a security group that doesn't allow connections from within itself, do one of the following:
-
Configure the security group to allow it to communicate within itself.
-
Choose a different security group that can communicate with the mount target's security group.
sourcepub fn set_security_group_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_arns(self, input: Option<Vec<String>>) -> Self
Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.
If you choose a security group that doesn't allow connections from within itself, do one of the following:
-
Configure the security group to allow it to communicate within itself.
-
Choose a different security group that can communicate with the mount target's security group.
sourcepub fn get_security_group_arns(&self) -> &Option<Vec<String>>
pub fn get_security_group_arns(&self) -> &Option<Vec<String>>
Specifies the ARNs of the security groups that provide access to your file system's preferred subnet.
If you choose a security group that doesn't allow connections from within itself, do one of the following:
-
Configure the security group to allow it to communicate within itself.
-
Choose a different security group that can communicate with the mount target's security group.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
sourcepub fn user(self, input: impl Into<String>) -> Self
pub fn user(self, input: impl Into<String>) -> Self
Specifies the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
For information about choosing a user with the right level of access for your transfer, see required permissions for FSx for Windows File Server locations.
This field is required.sourcepub fn set_user(self, input: Option<String>) -> Self
pub fn set_user(self, input: Option<String>) -> Self
Specifies the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
For information about choosing a user with the right level of access for your transfer, see required permissions for FSx for Windows File Server locations.
sourcepub fn get_user(&self) -> &Option<String>
pub fn get_user(&self) -> &Option<String>
Specifies the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
For information about choosing a user with the right level of access for your transfer, see required permissions for FSx for Windows File Server locations.
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
Specifies the name of the Microsoft Active Directory domain that the FSx for Windows File Server file system belongs to.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
Specifies the name of the Microsoft Active Directory domain that the FSx for Windows File Server file system belongs to.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
Specifies the name of the Microsoft Active Directory domain that the FSx for Windows File Server file system belongs to.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
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 the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
sourcepub fn build(self) -> Result<CreateLocationFsxWindowsInput, BuildError>
pub fn build(self) -> Result<CreateLocationFsxWindowsInput, BuildError>
Consumes the builder and constructs a CreateLocationFsxWindowsInput
.
source§impl CreateLocationFsxWindowsInputBuilder
impl CreateLocationFsxWindowsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLocationFsxWindowsOutput, SdkError<CreateLocationFsxWindowsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLocationFsxWindowsOutput, SdkError<CreateLocationFsxWindowsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLocationFsxWindowsInputBuilder
impl Clone for CreateLocationFsxWindowsInputBuilder
source§fn clone(&self) -> CreateLocationFsxWindowsInputBuilder
fn clone(&self) -> CreateLocationFsxWindowsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateLocationFsxWindowsInputBuilder
impl Default for CreateLocationFsxWindowsInputBuilder
source§fn default() -> CreateLocationFsxWindowsInputBuilder
fn default() -> CreateLocationFsxWindowsInputBuilder
source§impl PartialEq for CreateLocationFsxWindowsInputBuilder
impl PartialEq for CreateLocationFsxWindowsInputBuilder
source§fn eq(&self, other: &CreateLocationFsxWindowsInputBuilder) -> bool
fn eq(&self, other: &CreateLocationFsxWindowsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLocationFsxWindowsInputBuilder
Auto Trait Implementations§
impl Freeze for CreateLocationFsxWindowsInputBuilder
impl RefUnwindSafe for CreateLocationFsxWindowsInputBuilder
impl Send for CreateLocationFsxWindowsInputBuilder
impl Sync for CreateLocationFsxWindowsInputBuilder
impl Unpin for CreateLocationFsxWindowsInputBuilder
impl UnwindSafe for CreateLocationFsxWindowsInputBuilder
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> 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