Struct aws_sdk_sqs::operation::get_queue_attributes::builders::GetQueueAttributesOutputBuilder
source · #[non_exhaustive]pub struct GetQueueAttributesOutputBuilder { /* private fields */ }
Expand description
A builder for GetQueueAttributesOutput
.
Implementations§
source§impl GetQueueAttributesOutputBuilder
impl GetQueueAttributesOutputBuilder
sourcepub fn attributes(self, k: QueueAttributeName, v: impl Into<String>) -> Self
pub fn attributes(self, k: QueueAttributeName, v: impl Into<String>) -> Self
Adds a key-value pair to attributes
.
To override the contents of this collection use set_attributes
.
A map of attributes to their respective values.
sourcepub fn set_attributes(
self,
input: Option<HashMap<QueueAttributeName, String>>
) -> Self
pub fn set_attributes( self, input: Option<HashMap<QueueAttributeName, String>> ) -> Self
A map of attributes to their respective values.
sourcepub fn get_attributes(&self) -> &Option<HashMap<QueueAttributeName, String>>
pub fn get_attributes(&self) -> &Option<HashMap<QueueAttributeName, String>>
A map of attributes to their respective values.
sourcepub fn build(self) -> GetQueueAttributesOutput
pub fn build(self) -> GetQueueAttributesOutput
Consumes the builder and constructs a GetQueueAttributesOutput
.
Trait Implementations§
source§impl Clone for GetQueueAttributesOutputBuilder
impl Clone for GetQueueAttributesOutputBuilder
source§fn clone(&self) -> GetQueueAttributesOutputBuilder
fn clone(&self) -> GetQueueAttributesOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetQueueAttributesOutputBuilder
impl Default for GetQueueAttributesOutputBuilder
source§fn default() -> GetQueueAttributesOutputBuilder
fn default() -> GetQueueAttributesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetQueueAttributesOutputBuilder
impl PartialEq for GetQueueAttributesOutputBuilder
source§fn eq(&self, other: &GetQueueAttributesOutputBuilder) -> bool
fn eq(&self, other: &GetQueueAttributesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetQueueAttributesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetQueueAttributesOutputBuilder
impl Send for GetQueueAttributesOutputBuilder
impl Sync for GetQueueAttributesOutputBuilder
impl Unpin for GetQueueAttributesOutputBuilder
impl UnwindSafe for GetQueueAttributesOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.