Struct aws_sdk_backup::operation::describe_backup_vault::builders::DescribeBackupVaultInputBuilder
source · #[non_exhaustive]pub struct DescribeBackupVaultInputBuilder { /* private fields */ }
Expand description
A builder for DescribeBackupVaultInput
.
Implementations§
source§impl DescribeBackupVaultInputBuilder
impl DescribeBackupVaultInputBuilder
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 lowercase letters, numbers, and hyphens.
This field is required.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 lowercase letters, numbers, and hyphens.
sourcepub fn get_backup_vault_name(&self) -> &Option<String>
pub fn get_backup_vault_name(&self) -> &Option<String>
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 lowercase letters, numbers, and hyphens.
sourcepub fn backup_vault_account_id(self, input: impl Into<String>) -> Self
pub fn backup_vault_account_id(self, input: impl Into<String>) -> Self
This is the account ID of the specified backup vault.
sourcepub fn set_backup_vault_account_id(self, input: Option<String>) -> Self
pub fn set_backup_vault_account_id(self, input: Option<String>) -> Self
This is the account ID of the specified backup vault.
sourcepub fn get_backup_vault_account_id(&self) -> &Option<String>
pub fn get_backup_vault_account_id(&self) -> &Option<String>
This is the account ID of the specified backup vault.
sourcepub fn build(self) -> Result<DescribeBackupVaultInput, BuildError>
pub fn build(self) -> Result<DescribeBackupVaultInput, BuildError>
Consumes the builder and constructs a DescribeBackupVaultInput
.
source§impl DescribeBackupVaultInputBuilder
impl DescribeBackupVaultInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeBackupVaultOutput, SdkError<DescribeBackupVaultError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeBackupVaultOutput, SdkError<DescribeBackupVaultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeBackupVaultInputBuilder
impl Clone for DescribeBackupVaultInputBuilder
source§fn clone(&self) -> DescribeBackupVaultInputBuilder
fn clone(&self) -> DescribeBackupVaultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeBackupVaultInputBuilder
impl Default for DescribeBackupVaultInputBuilder
source§fn default() -> DescribeBackupVaultInputBuilder
fn default() -> DescribeBackupVaultInputBuilder
source§impl PartialEq for DescribeBackupVaultInputBuilder
impl PartialEq for DescribeBackupVaultInputBuilder
source§fn eq(&self, other: &DescribeBackupVaultInputBuilder) -> bool
fn eq(&self, other: &DescribeBackupVaultInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.