Struct aws_sdk_sqs::output::get_queue_attributes_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetQueueAttributesOutput
.
Implementations§
source§impl Builder
impl Builder
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
.