// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateTapes`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`gateway_arn(impl Into<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
/// - [`tape_size_in_bytes(i64)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::tape_size_in_bytes) / [`set_tape_size_in_bytes(Option<i64>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_tape_size_in_bytes):<br>required: **true**<br><p>The size, in bytes, of the virtual tapes that you want to create.</p> <note> <p>The size must be aligned by gigabyte (1024*1024*1024 bytes).</p> </note><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_client_token):<br>required: **true**<br><p>A unique identifier that you use to retry a request. If you retry a request, use the same <code>ClientToken</code> you specified in the initial request.</p> <note> <p>Using the same <code>ClientToken</code> prevents creating the tape multiple times.</p> </note><br>
/// - [`num_tapes_to_create(i32)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::num_tapes_to_create) / [`set_num_tapes_to_create(Option<i32>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_num_tapes_to_create):<br>required: **true**<br><p>The number of virtual tapes that you want to create.</p><br>
/// - [`tape_barcode_prefix(impl Into<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::tape_barcode_prefix) / [`set_tape_barcode_prefix(Option<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_tape_barcode_prefix):<br>required: **true**<br><p>A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique.</p> <note> <p>The prefix must be 1-4 characters in length and must be one of the uppercase letters from A to Z.</p> </note><br>
/// - [`kms_encrypted(bool)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::kms_encrypted) / [`set_kms_encrypted(Option<bool>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_kms_encrypted):<br>required: **false**<br><p>Set to <code>true</code> to use Amazon S3 server-side encryption with your own KMS key, or <code>false</code> to use a key managed by Amazon S3. Optional.</p> <p>Valid Values: <code>true</code> | <code>false</code> </p><br>
/// - [`kms_key(impl Into<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::kms_key) / [`set_kms_key(Option<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_kms_key):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when <code>KMSEncrypted</code> is <code>true</code>. Optional.</p><br>
/// - [`pool_id(impl Into<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::pool_id) / [`set_pool_id(Option<String>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_pool_id):<br>required: **false**<br><p>The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p><br>
/// - [`worm(bool)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::worm) / [`set_worm(Option<bool>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_worm):<br>required: **false**<br><p>Set to <code>TRUE</code> if the tape you are creating is to be configured as a write-once-read-many (WORM) tape.</p><br>
/// - [`tags(Tag)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_tapes::builders::CreateTapesFluentBuilder::set_tags):<br>required: **false**<br><p>A list of up to 50 tags that can be assigned to a virtual tape. Each tag is a key-value pair.</p> <note> <p>Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.</p> </note><br>
/// - On success, responds with [`CreateTapesOutput`](crate::operation::create_tapes::CreateTapesOutput) with field(s):
/// - [`tape_arns(Option<Vec::<String>>)`](crate::operation::create_tapes::CreateTapesOutput::tape_arns): <p>A list of unique Amazon Resource Names (ARNs) that represents the virtual tapes that were created.</p>
/// - On failure, responds with [`SdkError<CreateTapesError>`](crate::operation::create_tapes::CreateTapesError)
pub fn create_tapes(&self) -> crate::operation::create_tapes::builders::CreateTapesFluentBuilder {
crate::operation::create_tapes::builders::CreateTapesFluentBuilder::new(self.handle.clone())
}
}