// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateFileSystem`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_name(impl ::std::convert::Into<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_user_name): <p>The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.</p>
/// - [`password(impl ::std::convert::Into<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::password) / [`set_password(Option<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_password): <p>The password of the user credential.</p>
/// - [`client_token(impl ::std::convert::Into<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_client_token): <p>A unique string value that you supply that is used by the FSx File Gateway to ensure idempotent file system association creation.</p>
/// - [`gateway_arn(impl ::std::convert::Into<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p>
/// - [`location_arn(impl ::std::convert::Into<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::location_arn) / [`set_location_arn(Option<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_location_arn): <p>The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway.</p>
/// - [`tags(Vec<Tag>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_tags): <p>A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.</p>
/// - [`audit_destination_arn(impl ::std::convert::Into<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::audit_destination_arn) / [`set_audit_destination_arn(Option<String>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_audit_destination_arn): <p>The Amazon Resource Name (ARN) of the storage used for the audit logs.</p>
/// - [`cache_attributes(CacheAttributes)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::cache_attributes) / [`set_cache_attributes(Option<CacheAttributes>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_cache_attributes): <p>The refresh cache information for the file share or FSx file systems.</p>
/// - [`endpoint_network_configuration(EndpointNetworkConfiguration)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::endpoint_network_configuration) / [`set_endpoint_network_configuration(Option<EndpointNetworkConfiguration>)`](crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::set_endpoint_network_configuration): <p>Specifies the network configuration information for the gateway associated with the Amazon FSx file system.</p> <note> <p>If multiple file systems are associated with this gateway, this parameter's <code>IpAddresses</code> field is required.</p> </note>
/// - On success, responds with [`AssociateFileSystemOutput`](crate::operation::associate_file_system::AssociateFileSystemOutput) with field(s):
/// - [`file_system_association_arn(Option<String>)`](crate::operation::associate_file_system::AssociateFileSystemOutput::file_system_association_arn): <p>The ARN of the newly created file system association.</p>
/// - On failure, responds with [`SdkError<AssociateFileSystemError>`](crate::operation::associate_file_system::AssociateFileSystemError)
pub fn associate_file_system(
&self,
) -> crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder {
crate::operation::associate_file_system::builders::AssociateFileSystemFluentBuilder::new(
self.handle.clone(),
)
}
}