Struct aws_sdk_s3::model::notification_configuration::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for NotificationConfiguration
Implementations
sourceimpl Builder
impl Builder
sourcepub fn topic_configurations(self, input: TopicConfiguration) -> Self
pub fn topic_configurations(self, input: TopicConfiguration) -> Self
Appends an item to topic_configurations
.
To override the contents of this collection use set_topic_configurations
.
The topic to which notifications are sent and the events for which notifications are generated.
sourcepub fn set_topic_configurations(
self,
input: Option<Vec<TopicConfiguration>>
) -> Self
pub fn set_topic_configurations(
self,
input: Option<Vec<TopicConfiguration>>
) -> Self
The topic to which notifications are sent and the events for which notifications are generated.
sourcepub fn queue_configurations(self, input: QueueConfiguration) -> Self
pub fn queue_configurations(self, input: QueueConfiguration) -> Self
Appends an item to queue_configurations
.
To override the contents of this collection use set_queue_configurations
.
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
sourcepub fn set_queue_configurations(
self,
input: Option<Vec<QueueConfiguration>>
) -> Self
pub fn set_queue_configurations(
self,
input: Option<Vec<QueueConfiguration>>
) -> Self
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
sourcepub fn lambda_function_configurations(
self,
input: LambdaFunctionConfiguration
) -> Self
pub fn lambda_function_configurations(
self,
input: LambdaFunctionConfiguration
) -> Self
Appends an item to lambda_function_configurations
.
To override the contents of this collection use set_lambda_function_configurations
.
Describes the Lambda functions to invoke and the events for which to invoke them.
sourcepub fn set_lambda_function_configurations(
self,
input: Option<Vec<LambdaFunctionConfiguration>>
) -> Self
pub fn set_lambda_function_configurations(
self,
input: Option<Vec<LambdaFunctionConfiguration>>
) -> Self
Describes the Lambda functions to invoke and the events for which to invoke them.
sourcepub fn event_bridge_configuration(self, input: EventBridgeConfiguration) -> Self
pub fn event_bridge_configuration(self, input: EventBridgeConfiguration) -> Self
Enables delivery of events to Amazon EventBridge.
sourcepub fn set_event_bridge_configuration(
self,
input: Option<EventBridgeConfiguration>
) -> Self
pub fn set_event_bridge_configuration(
self,
input: Option<EventBridgeConfiguration>
) -> Self
Enables delivery of events to Amazon EventBridge.
sourcepub fn build(self) -> NotificationConfiguration
pub fn build(self) -> NotificationConfiguration
Consumes the builder and constructs a NotificationConfiguration
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more