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 for AwsS3BucketNotificationConfigurationDetailBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for AwsS3BucketNotificationConfigurationDetailBuilder
Auto Trait Implementations§
impl Freeze for AwsS3BucketNotificationConfigurationDetailBuilder
impl RefUnwindSafe for AwsS3BucketNotificationConfigurationDetailBuilder
impl Send for AwsS3BucketNotificationConfigurationDetailBuilder
impl Sync for AwsS3BucketNotificationConfigurationDetailBuilder
impl Unpin for AwsS3BucketNotificationConfigurationDetailBuilder
impl UnwindSafe for AwsS3BucketNotificationConfigurationDetailBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more