#[non_exhaustive]pub struct NotificationConfigurationBuilder { /* private fields */ }
Expand description
A builder for NotificationConfiguration
.
Implementations§
source§impl NotificationConfigurationBuilder
impl NotificationConfigurationBuilder
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 get_topic_configurations(&self) -> &Option<Vec<TopicConfiguration>>
pub fn get_topic_configurations(&self) -> &Option<Vec<TopicConfiguration>>
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 get_queue_configurations(&self) -> &Option<Vec<QueueConfiguration>>
pub fn get_queue_configurations(&self) -> &Option<Vec<QueueConfiguration>>
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 get_lambda_function_configurations(
&self
) -> &Option<Vec<LambdaFunctionConfiguration>>
pub fn get_lambda_function_configurations( &self ) -> &Option<Vec<LambdaFunctionConfiguration>>
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 get_event_bridge_configuration(
&self
) -> &Option<EventBridgeConfiguration>
pub fn get_event_bridge_configuration( &self ) -> &Option<EventBridgeConfiguration>
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§
source§impl Clone for NotificationConfigurationBuilder
impl Clone for NotificationConfigurationBuilder
source§fn clone(&self) -> NotificationConfigurationBuilder
fn clone(&self) -> NotificationConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for NotificationConfigurationBuilder
impl Default for NotificationConfigurationBuilder
source§fn default() -> NotificationConfigurationBuilder
fn default() -> NotificationConfigurationBuilder
source§impl PartialEq for NotificationConfigurationBuilder
impl PartialEq for NotificationConfigurationBuilder
source§fn eq(&self, other: &NotificationConfigurationBuilder) -> bool
fn eq(&self, other: &NotificationConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.