Struct aws_sdk_securityhub::types::builders::AwsBackupBackupVaultNotificationsDetailsBuilder
source · #[non_exhaustive]pub struct AwsBackupBackupVaultNotificationsDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsBackupBackupVaultNotificationsDetails
.
Implementations§
source§impl AwsBackupBackupVaultNotificationsDetailsBuilder
impl AwsBackupBackupVaultNotificationsDetailsBuilder
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 get_backup_vault_events(&self) -> &Option<Vec<String>>
pub fn get_backup_vault_events(&self) -> &Option<Vec<String>>
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
The Amazon Resource Name (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
The Amazon Resource Name (ARN) that uniquely identifies the Amazon SNS topic for a backup vault's events.
sourcepub fn get_sns_topic_arn(&self) -> &Option<String>
pub fn get_sns_topic_arn(&self) -> &Option<String>
The Amazon Resource Name (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
.
Trait Implementations§
source§impl Clone for AwsBackupBackupVaultNotificationsDetailsBuilder
impl Clone for AwsBackupBackupVaultNotificationsDetailsBuilder
source§fn clone(&self) -> AwsBackupBackupVaultNotificationsDetailsBuilder
fn clone(&self) -> AwsBackupBackupVaultNotificationsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsBackupBackupVaultNotificationsDetailsBuilder
impl Default for AwsBackupBackupVaultNotificationsDetailsBuilder
source§fn default() -> AwsBackupBackupVaultNotificationsDetailsBuilder
fn default() -> AwsBackupBackupVaultNotificationsDetailsBuilder
source§impl PartialEq for AwsBackupBackupVaultNotificationsDetailsBuilder
impl PartialEq for AwsBackupBackupVaultNotificationsDetailsBuilder
source§fn eq(&self, other: &AwsBackupBackupVaultNotificationsDetailsBuilder) -> bool
fn eq(&self, other: &AwsBackupBackupVaultNotificationsDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.