aws_sdk_datasync/client/create_location_fsx_open_zfs.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateLocationFsxOpenZfs`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`fsx_filesystem_arn(impl Into<String>)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::fsx_filesystem_arn) / [`set_fsx_filesystem_arn(Option<String>)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::set_fsx_filesystem_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.</p><br>
/// - [`protocol(FsxProtocol)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::protocol) / [`set_protocol(Option<FsxProtocol>)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::set_protocol):<br>required: **true**<br><p>The type of protocol that DataSync uses to access your file system.</p><br>
/// - [`security_group_arns(impl Into<String>)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::security_group_arns) / [`set_security_group_arns(Option<Vec::<String>>)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::set_security_group_arns):<br>required: **true**<br><p>The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.</p><br>
/// - [`subdirectory(impl Into<String>)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::subdirectory) / [`set_subdirectory(Option<String>)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::set_subdirectory):<br>required: **false**<br><p>A subdirectory in the location's path that must begin with <code>/fsx</code>. DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).</p><br>
/// - [`tags(TagListEntry)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::tags) / [`set_tags(Option<Vec::<TagListEntry>>)`](crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::set_tags):<br>required: **false**<br><p>The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.</p><br>
/// - On success, responds with [`CreateLocationFsxOpenZfsOutput`](crate::operation::create_location_fsx_open_zfs::CreateLocationFsxOpenZfsOutput) with field(s):
/// - [`location_arn(Option<String>)`](crate::operation::create_location_fsx_open_zfs::CreateLocationFsxOpenZfsOutput::location_arn): <p>The ARN of the FSx for OpenZFS file system location that you created.</p>
/// - On failure, responds with [`SdkError<CreateLocationFsxOpenZfsError>`](crate::operation::create_location_fsx_open_zfs::CreateLocationFsxOpenZfsError)
pub fn create_location_fsx_open_zfs(&self) -> crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder {
crate::operation::create_location_fsx_open_zfs::builders::CreateLocationFsxOpenZfsFluentBuilder::new(self.handle.clone())
}
}