Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::TopicConfigurationBuilder
#[non_exhaustive]pub struct TopicConfigurationBuilder { /* private fields */ }
Expand description
A builder for TopicConfiguration
.
Implementations§
§impl TopicConfigurationBuilder
impl TopicConfigurationBuilder
pub fn id(self, input: impl Into<String>) -> TopicConfigurationBuilder
pub fn id(self, input: impl Into<String>) -> TopicConfigurationBuilder
An optional unique identifier for configurations in a notification configuration. If you don't provide one, Amazon S3 will assign an ID.
pub fn set_id(self, input: Option<String>) -> TopicConfigurationBuilder
pub fn set_id(self, input: Option<String>) -> TopicConfigurationBuilder
An optional unique identifier for configurations in a notification configuration. If you don't provide one, Amazon S3 will assign an ID.
pub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
An optional unique identifier for configurations in a notification configuration. If you don't provide one, Amazon S3 will assign an ID.
pub fn topic_arn(self, input: impl Into<String>) -> TopicConfigurationBuilder
pub fn topic_arn(self, input: impl Into<String>) -> TopicConfigurationBuilder
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.
pub fn set_topic_arn(self, input: Option<String>) -> TopicConfigurationBuilder
pub fn set_topic_arn(self, input: Option<String>) -> TopicConfigurationBuilder
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.
pub fn get_topic_arn(&self) -> &Option<String>
pub fn get_topic_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type.
pub fn events(self, input: Event) -> TopicConfigurationBuilder
pub fn events(self, input: Event) -> TopicConfigurationBuilder
Appends an item to events
.
To override the contents of this collection use set_events
.
The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
pub fn set_events(self, input: Option<Vec<Event>>) -> TopicConfigurationBuilder
pub fn set_events(self, input: Option<Vec<Event>>) -> TopicConfigurationBuilder
The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
pub fn get_events(&self) -> &Option<Vec<Event>>
pub fn get_events(&self) -> &Option<Vec<Event>>
The Amazon S3 bucket event about which to send notifications. For more information, see Supported Event Types in the Amazon S3 User Guide.
pub fn filter(
self,
input: NotificationConfigurationFilter
) -> TopicConfigurationBuilder
pub fn filter( self, input: NotificationConfigurationFilter ) -> TopicConfigurationBuilder
Specifies object key name filtering rules. For information about key name filtering, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide.
pub fn set_filter(
self,
input: Option<NotificationConfigurationFilter>
) -> TopicConfigurationBuilder
pub fn set_filter( self, input: Option<NotificationConfigurationFilter> ) -> TopicConfigurationBuilder
Specifies object key name filtering rules. For information about key name filtering, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide.
pub fn get_filter(&self) -> &Option<NotificationConfigurationFilter>
pub fn get_filter(&self) -> &Option<NotificationConfigurationFilter>
Specifies object key name filtering rules. For information about key name filtering, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide.
pub fn build(self) -> TopicConfiguration
pub fn build(self) -> TopicConfiguration
Consumes the builder and constructs a TopicConfiguration
.
Trait Implementations§
§impl Clone for TopicConfigurationBuilder
impl Clone for TopicConfigurationBuilder
§fn clone(&self) -> TopicConfigurationBuilder
fn clone(&self) -> TopicConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for TopicConfigurationBuilder
impl Debug for TopicConfigurationBuilder
§impl Default for TopicConfigurationBuilder
impl Default for TopicConfigurationBuilder
§fn default() -> TopicConfigurationBuilder
fn default() -> TopicConfigurationBuilder
§impl PartialEq for TopicConfigurationBuilder
impl PartialEq for TopicConfigurationBuilder
§fn eq(&self, other: &TopicConfigurationBuilder) -> bool
fn eq(&self, other: &TopicConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.