pub struct Builder { /* private fields */ }
Expand description
A builder for AwsBackupBackupVaultNotificationsDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn backup_vault_events(self, input: impl Into<String>) -> Self
pub fn backup_vault_events(self, input: impl Into<String>) -> Self
Appends an item to backup_vault_events
.
To override the contents of this collection use set_backup_vault_events
.
An array of events that indicate the status of jobs to back up resources to the backup vault. The following events are supported:
-
BACKUP_JOB_STARTED | BACKUP_JOB_COMPLETED
-
COPY_JOB_STARTED | COPY_JOB_SUCCESSFUL | COPY_JOB_FAILED
-
RESTORE_JOB_STARTED | RESTORE_JOB_COMPLETED | RECOVERY_POINT_MODIFIED
-
S3_BACKUP_OBJECT_FAILED | S3_RESTORE_OBJECT_FAILED
sourcepub fn set_backup_vault_events(self, input: Option<Vec<String>>) -> Self
pub fn set_backup_vault_events(self, input: Option<Vec<String>>) -> Self
An array of events that indicate the status of jobs to back up resources to the backup vault. The following events are supported:
-
BACKUP_JOB_STARTED | BACKUP_JOB_COMPLETED
-
COPY_JOB_STARTED | COPY_JOB_SUCCESSFUL | COPY_JOB_FAILED
-
RESTORE_JOB_STARTED | RESTORE_JOB_COMPLETED | RECOVERY_POINT_MODIFIED
-
S3_BACKUP_OBJECT_FAILED | S3_RESTORE_OBJECT_FAILED
sourcepub fn sns_topic_arn(self, input: impl Into<String>) -> Self
pub fn sns_topic_arn(self, input: impl Into<String>) -> Self
An ARN that uniquely identifies the Amazon SNS topic for a backup vault’s events.
sourcepub fn set_sns_topic_arn(self, input: Option<String>) -> Self
pub fn set_sns_topic_arn(self, input: Option<String>) -> Self
An ARN that uniquely identifies the Amazon SNS topic for a backup vault’s events.
sourcepub fn build(self) -> AwsBackupBackupVaultNotificationsDetails
pub fn build(self) -> AwsBackupBackupVaultNotificationsDetails
Consumes the builder and constructs a AwsBackupBackupVaultNotificationsDetails
.