Struct bonsaidb::keystorage::s3::aws_sdk_s3::model::queue_configuration::Builder
[−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for QueueConfiguration
Implementations
impl Builder
impl Builder
pub fn id(self, input: impl Into<String>) -> Builder
pub fn id(self, input: impl Into<String>) -> Builder
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>) -> Builder
pub fn set_id(self, input: Option<String>) -> Builder
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>) -> Builder
pub fn queue_arn(self, input: impl Into<String>) -> Builder
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>) -> Builder
pub fn set_queue_arn(self, input: Option<String>) -> Builder
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) -> Builder
pub fn events(self, input: Event) -> Builder
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>>) -> Builder
pub fn set_events(self, input: Option<Vec<Event, Global>>) -> Builder
A collection of bucket events for which to send notifications
pub fn filter(self, input: NotificationConfigurationFilter) -> Builder
pub fn filter(self, input: NotificationConfigurationFilter) -> Builder
Specifies object key name filtering rules. For information about key name filtering, see Configuring Event Notifications in the Amazon S3 User Guide.
pub fn set_filter(
self,
input: Option<NotificationConfigurationFilter>
) -> Builder
pub fn set_filter(
self,
input: Option<NotificationConfigurationFilter>
) -> Builder
Specifies object key name filtering rules. For information about key name filtering, see Configuring Event Notifications 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 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>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
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