Struct aws_sdk_backup::operation::create_backup_vault::builders::CreateBackupVaultInputBuilder
source · #[non_exhaustive]pub struct CreateBackupVaultInputBuilder { /* private fields */ }
Expand description
A builder for CreateBackupVaultInput
.
Implementations§
source§impl CreateBackupVaultInputBuilder
impl CreateBackupVaultInputBuilder
sourcepub fn backup_vault_name(self, input: impl Into<String>) -> Self
pub fn backup_vault_name(self, input: impl Into<String>) -> Self
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
sourcepub fn set_backup_vault_name(self, input: Option<String>) -> Self
pub fn set_backup_vault_name(self, input: Option<String>) -> Self
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
Adds a key-value pair to backup_vault_tags
.
To override the contents of this collection use set_backup_vault_tags
.
Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
sourcepub fn encryption_key_arn(self, input: impl Into<String>) -> Self
pub fn encryption_key_arn(self, input: impl Into<String>) -> Self
The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
sourcepub fn set_encryption_key_arn(self, input: Option<String>) -> Self
pub fn set_encryption_key_arn(self, input: Option<String>) -> Self
The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
sourcepub fn creator_request_id(self, input: impl Into<String>) -> Self
pub fn creator_request_id(self, input: impl Into<String>) -> Self
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
pub fn set_creator_request_id(self, input: Option<String>) -> Self
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn build(self) -> Result<CreateBackupVaultInput, BuildError>
pub fn build(self) -> Result<CreateBackupVaultInput, BuildError>
Consumes the builder and constructs a CreateBackupVaultInput
.
Trait Implementations§
source§impl Clone for CreateBackupVaultInputBuilder
impl Clone for CreateBackupVaultInputBuilder
source§fn clone(&self) -> CreateBackupVaultInputBuilder
fn clone(&self) -> CreateBackupVaultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateBackupVaultInputBuilder
impl Default for CreateBackupVaultInputBuilder
source§fn default() -> CreateBackupVaultInputBuilder
fn default() -> CreateBackupVaultInputBuilder
source§impl PartialEq<CreateBackupVaultInputBuilder> for CreateBackupVaultInputBuilder
impl PartialEq<CreateBackupVaultInputBuilder> for CreateBackupVaultInputBuilder
source§fn eq(&self, other: &CreateBackupVaultInputBuilder) -> bool
fn eq(&self, other: &CreateBackupVaultInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.