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.
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 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.
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 ==
.