Struct aws_sdk_s3::model::notification_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NotificationConfiguration
.
Implementations§
source§impl 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
.