Struct aws_sdk_securityhub::types::builders::AwsS3BucketNotificationConfigurationDetailBuilder
source · #[non_exhaustive]pub struct AwsS3BucketNotificationConfigurationDetailBuilder { /* private fields */ }
Expand description
A builder for AwsS3BucketNotificationConfigurationDetail
.
Implementations§
source§impl AwsS3BucketNotificationConfigurationDetailBuilder
impl AwsS3BucketNotificationConfigurationDetailBuilder
sourcepub fn events(self, input: impl Into<String>) -> Self
pub fn events(self, input: impl Into<String>) -> Self
Appends an item to events
.
To override the contents of this collection use set_events
.
The list of events that trigger a notification.
sourcepub fn set_events(self, input: Option<Vec<String>>) -> Self
pub fn set_events(self, input: Option<Vec<String>>) -> Self
The list of events that trigger a notification.
sourcepub fn get_events(&self) -> &Option<Vec<String>>
pub fn get_events(&self) -> &Option<Vec<String>>
The list of events that trigger a notification.
sourcepub fn filter(self, input: AwsS3BucketNotificationConfigurationFilter) -> Self
pub fn filter(self, input: AwsS3BucketNotificationConfigurationFilter) -> Self
The filters that determine which S3 buckets generate notifications.
sourcepub fn set_filter(
self,
input: Option<AwsS3BucketNotificationConfigurationFilter>
) -> Self
pub fn set_filter( self, input: Option<AwsS3BucketNotificationConfigurationFilter> ) -> Self
The filters that determine which S3 buckets generate notifications.
sourcepub fn get_filter(&self) -> &Option<AwsS3BucketNotificationConfigurationFilter>
pub fn get_filter(&self) -> &Option<AwsS3BucketNotificationConfigurationFilter>
The filters that determine which S3 buckets generate notifications.
sourcepub fn destination(self, input: impl Into<String>) -> Self
pub fn destination(self, input: impl Into<String>) -> Self
The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the notification.
sourcepub fn set_destination(self, input: Option<String>) -> Self
pub fn set_destination(self, input: Option<String>) -> Self
The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the notification.
sourcepub fn get_destination(&self) -> &Option<String>
pub fn get_destination(&self) -> &Option<String>
The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the notification.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
Indicates the type of notification. Notifications can be generated using Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding valid values as follows:
-
LambdaConfiguration
-
QueueConfiguration
-
TopicConfiguration
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
Indicates the type of notification. Notifications can be generated using Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding valid values as follows:
-
LambdaConfiguration
-
QueueConfiguration
-
TopicConfiguration
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
Indicates the type of notification. Notifications can be generated using Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding valid values as follows:
-
LambdaConfiguration
-
QueueConfiguration
-
TopicConfiguration
sourcepub fn build(self) -> AwsS3BucketNotificationConfigurationDetail
pub fn build(self) -> AwsS3BucketNotificationConfigurationDetail
Consumes the builder and constructs a AwsS3BucketNotificationConfigurationDetail
.
Trait Implementations§
source§impl Clone for AwsS3BucketNotificationConfigurationDetailBuilder
impl Clone for AwsS3BucketNotificationConfigurationDetailBuilder
source§fn clone(&self) -> AwsS3BucketNotificationConfigurationDetailBuilder
fn clone(&self) -> AwsS3BucketNotificationConfigurationDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsS3BucketNotificationConfigurationDetailBuilder
impl Default for AwsS3BucketNotificationConfigurationDetailBuilder
source§fn default() -> AwsS3BucketNotificationConfigurationDetailBuilder
fn default() -> AwsS3BucketNotificationConfigurationDetailBuilder
source§impl PartialEq<AwsS3BucketNotificationConfigurationDetailBuilder> for AwsS3BucketNotificationConfigurationDetailBuilder
impl PartialEq<AwsS3BucketNotificationConfigurationDetailBuilder> for AwsS3BucketNotificationConfigurationDetailBuilder
source§fn eq(&self, other: &AwsS3BucketNotificationConfigurationDetailBuilder) -> bool
fn eq(&self, other: &AwsS3BucketNotificationConfigurationDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.