pub struct QueueDeadLetterBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> QueueDeadLetterBuilder<S>
impl<S: State> QueueDeadLetterBuilder<S>
Sourcepub fn build(self) -> QueueDeadLetterwhere
S: IsComplete,
pub fn build(self) -> QueueDeadLetterwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn queue(self, value: ResourceRef) -> QueueDeadLetterBuilder<SetQueue<S>>where
S::Queue: IsUnset,
pub fn queue(self, value: ResourceRef) -> QueueDeadLetterBuilder<SetQueue<S>>where
S::Queue: IsUnset,
Required.
The Queue that receives the messages. Must be a Queue in the stack with the same lifecycle, must not be this Queue and must not have a dead-letter setting itself.
Sourcepub fn max_attempts(
self,
value: u32,
) -> QueueDeadLetterBuilder<SetMaxAttempts<S>>where
S::MaxAttempts: IsUnset,
pub fn max_attempts(
self,
value: u32,
) -> QueueDeadLetterBuilder<SetMaxAttempts<S>>where
S::MaxAttempts: IsUnset,
Sourcepub fn maybe_max_attempts(
self,
value: Option<u32>,
) -> QueueDeadLetterBuilder<SetMaxAttempts<S>>where
S::MaxAttempts: IsUnset,
pub fn maybe_max_attempts(
self,
value: Option<u32>,
) -> QueueDeadLetterBuilder<SetMaxAttempts<S>>where
S::MaxAttempts: IsUnset,
Auto Trait Implementations§
impl<S> Forget for QueueDeadLetterBuilder<S>
impl<S> Freeze for QueueDeadLetterBuilder<S>
impl<S> Move for QueueDeadLetterBuilder<S>
impl<S> RefUnwindSafe for QueueDeadLetterBuilder<S>
impl<S> Send for QueueDeadLetterBuilder<S>
impl<S> Sync for QueueDeadLetterBuilder<S>
impl<S> Unpin for QueueDeadLetterBuilder<S>
impl<S> UnsafeUnpin for QueueDeadLetterBuilder<S>
impl<S> UnwindSafe for QueueDeadLetterBuilder<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more