#[non_exhaustive]pub struct AwsBackupBackupVaultDetailsBuilder { /* private fields */ }Expand description
A builder for AwsBackupBackupVaultDetails.
Implementations§
source§impl AwsBackupBackupVaultDetailsBuilder
impl AwsBackupBackupVaultDetailsBuilder
sourcepub fn backup_vault_arn(self, input: impl Into<String>) -> Self
pub fn backup_vault_arn(self, input: impl Into<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies a backup vault.
sourcepub fn set_backup_vault_arn(self, input: Option<String>) -> Self
pub fn set_backup_vault_arn(self, input: Option<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies a backup vault.
sourcepub fn get_backup_vault_arn(&self) -> &Option<String>
pub fn get_backup_vault_arn(&self) -> &Option<String>
An Amazon Resource Name (ARN) that uniquely identifies a backup vault.
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 Amazon Web Services 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 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 Amazon Web Services 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 Amazon Web Services 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 encryption_key_arn(self, input: impl Into<String>) -> Self
pub fn encryption_key_arn(self, input: impl Into<String>) -> Self
The unique ARN associated with the server-side encryption key. You can specify a key to encrypt your backups from services that support full Backup management. If you do not specify a key, Backup creates an KMS key for you by default.
sourcepub fn set_encryption_key_arn(self, input: Option<String>) -> Self
pub fn set_encryption_key_arn(self, input: Option<String>) -> Self
The unique ARN associated with the server-side encryption key. You can specify a key to encrypt your backups from services that support full Backup management. If you do not specify a key, Backup creates an KMS key for you by default.
sourcepub fn get_encryption_key_arn(&self) -> &Option<String>
pub fn get_encryption_key_arn(&self) -> &Option<String>
The unique ARN associated with the server-side encryption key. You can specify a key to encrypt your backups from services that support full Backup management. If you do not specify a key, Backup creates an KMS key for you by default.
sourcepub fn notifications(
self,
input: AwsBackupBackupVaultNotificationsDetails
) -> Self
pub fn notifications( self, input: AwsBackupBackupVaultNotificationsDetails ) -> Self
The Amazon SNS event notifications for the specified backup vault.
sourcepub fn set_notifications(
self,
input: Option<AwsBackupBackupVaultNotificationsDetails>
) -> Self
pub fn set_notifications( self, input: Option<AwsBackupBackupVaultNotificationsDetails> ) -> Self
The Amazon SNS event notifications for the specified backup vault.
sourcepub fn get_notifications(
&self
) -> &Option<AwsBackupBackupVaultNotificationsDetails>
pub fn get_notifications( &self ) -> &Option<AwsBackupBackupVaultNotificationsDetails>
The Amazon SNS event notifications for the specified backup vault.
sourcepub fn access_policy(self, input: impl Into<String>) -> Self
pub fn access_policy(self, input: impl Into<String>) -> Self
A resource-based policy that is used to manage access permissions on the target backup vault.
sourcepub fn set_access_policy(self, input: Option<String>) -> Self
pub fn set_access_policy(self, input: Option<String>) -> Self
A resource-based policy that is used to manage access permissions on the target backup vault.
sourcepub fn get_access_policy(&self) -> &Option<String>
pub fn get_access_policy(&self) -> &Option<String>
A resource-based policy that is used to manage access permissions on the target backup vault.
sourcepub fn build(self) -> AwsBackupBackupVaultDetails
pub fn build(self) -> AwsBackupBackupVaultDetails
Consumes the builder and constructs a AwsBackupBackupVaultDetails.
Trait Implementations§
source§impl Clone for AwsBackupBackupVaultDetailsBuilder
impl Clone for AwsBackupBackupVaultDetailsBuilder
source§fn clone(&self) -> AwsBackupBackupVaultDetailsBuilder
fn clone(&self) -> AwsBackupBackupVaultDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsBackupBackupVaultDetailsBuilder
impl Default for AwsBackupBackupVaultDetailsBuilder
source§fn default() -> AwsBackupBackupVaultDetailsBuilder
fn default() -> AwsBackupBackupVaultDetailsBuilder
source§impl PartialEq for AwsBackupBackupVaultDetailsBuilder
impl PartialEq for AwsBackupBackupVaultDetailsBuilder
source§fn eq(&self, other: &AwsBackupBackupVaultDetailsBuilder) -> bool
fn eq(&self, other: &AwsBackupBackupVaultDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.