Struct aws_sdk_backup::operation::create_backup_vault::builders::CreateBackupVaultFluentBuilder
source · pub struct CreateBackupVaultFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateBackupVault
.
Creates a logical container where backups are stored. A CreateBackupVault
request includes a name, optionally one or more resource tags, an encryption key, and a request ID.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
Implementations§
source§impl CreateBackupVaultFluentBuilder
impl CreateBackupVaultFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateBackupVault, AwsResponseRetryClassifier>, SdkError<CreateBackupVaultError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateBackupVault, AwsResponseRetryClassifier>, SdkError<CreateBackupVaultError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateBackupVaultOutput, SdkError<CreateBackupVaultError>>
pub async fn send( self ) -> Result<CreateBackupVaultOutput, SdkError<CreateBackupVaultError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 BackupVaultTags
.
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.
Trait Implementations§
source§impl Clone for CreateBackupVaultFluentBuilder
impl Clone for CreateBackupVaultFluentBuilder
source§fn clone(&self) -> CreateBackupVaultFluentBuilder
fn clone(&self) -> CreateBackupVaultFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more