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 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<GetQueueAttributesOutputBuilder> for GetQueueAttributesOutputBuilder
impl PartialEq<GetQueueAttributesOutputBuilder> 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 ==.