pub struct CreateLocationFsxWindows { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateLocationFsxWindows
.
Creates an endpoint for an Amazon FSx for Windows File Server file system.
Implementations§
source§impl CreateLocationFsxWindows
impl CreateLocationFsxWindows
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateLocationFsxWindows, AwsResponseRetryClassifier>, SdkError<CreateLocationFsxWindowsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateLocationFsxWindows, AwsResponseRetryClassifier>, SdkError<CreateLocationFsxWindowsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateLocationFsxWindowsOutput, SdkError<CreateLocationFsxWindowsError>>
pub async fn send(
self
) -> Result<CreateLocationFsxWindowsOutput, SdkError<CreateLocationFsxWindowsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 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.
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 security_group_arns(self, input: impl Into<String>) -> Self
pub fn security_group_arns(self, input: impl Into<String>) -> Self
Appends an item to SecurityGroupArns
.
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.
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.
sourcepub fn user(self, input: impl Into<String>) -> Self
pub fn user(self, input: impl Into<String>) -> Self
Specifies the user who has the permissions to access files and folders in the file system.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
sourcepub fn set_user(self, input: Option<String>) -> Self
pub fn set_user(self, input: Option<String>) -> Self
Specifies the user who has the permissions to access files and folders in the file system.
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user.
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
Specifies the password of the user who has the permissions to access files and folders in the file system.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
Specifies the password of the user who has the permissions to access files and folders in the file system.
Trait Implementations§
source§impl Clone for CreateLocationFsxWindows
impl Clone for CreateLocationFsxWindows
source§fn clone(&self) -> CreateLocationFsxWindows
fn clone(&self) -> CreateLocationFsxWindows
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more