Struct aws_sdk_connect::operation::get_contact_attributes::builders::GetContactAttributesOutputBuilder
source · #[non_exhaustive]pub struct GetContactAttributesOutputBuilder { /* private fields */ }
Expand description
A builder for GetContactAttributesOutput
.
Implementations§
source§impl GetContactAttributesOutputBuilder
impl GetContactAttributesOutputBuilder
sourcepub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to attributes
.
To override the contents of this collection use set_attributes
.
Information about the attributes.
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
Information about the attributes.
sourcepub fn get_attributes(&self) -> &Option<HashMap<String, String>>
pub fn get_attributes(&self) -> &Option<HashMap<String, String>>
Information about the attributes.
sourcepub fn build(self) -> GetContactAttributesOutput
pub fn build(self) -> GetContactAttributesOutput
Consumes the builder and constructs a GetContactAttributesOutput
.
Trait Implementations§
source§impl Clone for GetContactAttributesOutputBuilder
impl Clone for GetContactAttributesOutputBuilder
source§fn clone(&self) -> GetContactAttributesOutputBuilder
fn clone(&self) -> GetContactAttributesOutputBuilder
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 GetContactAttributesOutputBuilder
impl Default for GetContactAttributesOutputBuilder
source§fn default() -> GetContactAttributesOutputBuilder
fn default() -> GetContactAttributesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetContactAttributesOutputBuilder
impl PartialEq for GetContactAttributesOutputBuilder
source§fn eq(&self, other: &GetContactAttributesOutputBuilder) -> bool
fn eq(&self, other: &GetContactAttributesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetContactAttributesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetContactAttributesOutputBuilder
impl Send for GetContactAttributesOutputBuilder
impl Sync for GetContactAttributesOutputBuilder
impl Unpin for GetContactAttributesOutputBuilder
impl UnwindSafe for GetContactAttributesOutputBuilder
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.