Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::QueueConfigurationBuilder
pub struct QueueConfigurationBuilder { /* private fields */ }
Expand description
A builder for QueueConfiguration
.
Implementations§
§impl QueueConfigurationBuilder
impl QueueConfigurationBuilder
pub fn id(self, input: impl Into<String>) -> QueueConfigurationBuilder
pub fn id(self, input: impl Into<String>) -> QueueConfigurationBuilder
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>) -> QueueConfigurationBuilder
pub fn set_id(self, input: Option<String>) -> QueueConfigurationBuilder
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 queue_arn(self, input: impl Into<String>) -> QueueConfigurationBuilder
pub fn queue_arn(self, input: impl Into<String>) -> QueueConfigurationBuilder
The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it detects events of the specified type.
pub fn set_queue_arn(self, input: Option<String>) -> QueueConfigurationBuilder
pub fn set_queue_arn(self, input: Option<String>) -> QueueConfigurationBuilder
The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it detects events of the specified type.
pub fn get_queue_arn(&self) -> &Option<String>
pub fn get_queue_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it detects events of the specified type.
pub fn events(self, input: Event) -> QueueConfigurationBuilder
pub fn events(self, input: Event) -> QueueConfigurationBuilder
Appends an item to events
.
To override the contents of this collection use set_events
.
A collection of bucket events for which to send notifications
pub fn set_events(
self,
input: Option<Vec<Event, Global>>
) -> QueueConfigurationBuilder
pub fn set_events( self, input: Option<Vec<Event, Global>> ) -> QueueConfigurationBuilder
A collection of bucket events for which to send notifications
pub fn get_events(&self) -> &Option<Vec<Event, Global>>
pub fn get_events(&self) -> &Option<Vec<Event, Global>>
A collection of bucket events for which to send notifications
pub fn filter(
self,
input: NotificationConfigurationFilter
) -> QueueConfigurationBuilder
pub fn filter( self, input: NotificationConfigurationFilter ) -> QueueConfigurationBuilder
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>
) -> QueueConfigurationBuilder
pub fn set_filter( self, input: Option<NotificationConfigurationFilter> ) -> QueueConfigurationBuilder
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) -> QueueConfiguration
pub fn build(self) -> QueueConfiguration
Consumes the builder and constructs a QueueConfiguration
.
Trait Implementations§
§impl Clone for QueueConfigurationBuilder
impl Clone for QueueConfigurationBuilder
§fn clone(&self) -> QueueConfigurationBuilder
fn clone(&self) -> QueueConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for QueueConfigurationBuilder
impl Debug for QueueConfigurationBuilder
§impl Default for QueueConfigurationBuilder
impl Default for QueueConfigurationBuilder
§fn default() -> QueueConfigurationBuilder
fn default() -> QueueConfigurationBuilder
§impl PartialEq<QueueConfigurationBuilder> for QueueConfigurationBuilder
impl PartialEq<QueueConfigurationBuilder> for QueueConfigurationBuilder
§fn eq(&self, other: &QueueConfigurationBuilder) -> bool
fn eq(&self, other: &QueueConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.