pub struct Builder { /* private fields */ }
Expand description
A builder for AwsBackupBackupVaultDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 build(self) -> AwsBackupBackupVaultDetails
pub fn build(self) -> AwsBackupBackupVaultDetails
Consumes the builder and constructs a AwsBackupBackupVaultDetails
.