Struct aws_sdk_datasync::operation::create_location_fsx_windows::builders::CreateLocationFsxWindowsFluentBuilder
source · pub struct CreateLocationFsxWindowsFluentBuilder { /* 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 CreateLocationFsxWindowsFluentBuilder
impl CreateLocationFsxWindowsFluentBuilder
sourcepub fn as_input(&self) -> &CreateLocationFsxWindowsInputBuilder
pub fn as_input(&self) -> &CreateLocationFsxWindowsInputBuilder
Access the CreateLocationFsxWindows as a reference.
sourcepub async fn send(
self
) -> Result<CreateLocationFsxWindowsOutput, SdkError<CreateLocationFsxWindowsError, HttpResponse>>
pub async fn send( self ) -> Result<CreateLocationFsxWindowsOutput, SdkError<CreateLocationFsxWindowsError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<CreateLocationFsxWindowsOutput, CreateLocationFsxWindowsError, Self>, SdkError<CreateLocationFsxWindowsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateLocationFsxWindowsOutput, CreateLocationFsxWindowsError, Self>, SdkError<CreateLocationFsxWindowsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 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.
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 who has the permissions to access files, folders, and metadata in your file system.
For information about choosing a user with sufficient permissions, see Required permissions.
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, folders, and metadata in your file system.
For information about choosing a user with sufficient permissions, see Required permissions.
sourcepub fn get_user(&self) -> &Option<String>
pub fn get_user(&self) -> &Option<String>
Specifies the user who has the permissions to access files, folders, and metadata in your file system.
For information about choosing a user with sufficient permissions, see Required permissions.
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 get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
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.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
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 CreateLocationFsxWindowsFluentBuilder
impl Clone for CreateLocationFsxWindowsFluentBuilder
source§fn clone(&self) -> CreateLocationFsxWindowsFluentBuilder
fn clone(&self) -> CreateLocationFsxWindowsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more