Struct aws_sdk_clouddirectory::operation::get_link_attributes::builders::GetLinkAttributesOutputBuilder
source · #[non_exhaustive]pub struct GetLinkAttributesOutputBuilder { /* private fields */ }Expand description
A builder for GetLinkAttributesOutput.
Implementations§
source§impl GetLinkAttributesOutputBuilder
impl GetLinkAttributesOutputBuilder
sourcepub fn attributes(self, input: AttributeKeyAndValue) -> Self
pub fn attributes(self, input: AttributeKeyAndValue) -> Self
Appends an item to attributes.
To override the contents of this collection use set_attributes.
The attributes that are associated with the typed link.
sourcepub fn set_attributes(self, input: Option<Vec<AttributeKeyAndValue>>) -> Self
pub fn set_attributes(self, input: Option<Vec<AttributeKeyAndValue>>) -> Self
The attributes that are associated with the typed link.
sourcepub fn get_attributes(&self) -> &Option<Vec<AttributeKeyAndValue>>
pub fn get_attributes(&self) -> &Option<Vec<AttributeKeyAndValue>>
The attributes that are associated with the typed link.
sourcepub fn build(self) -> GetLinkAttributesOutput
pub fn build(self) -> GetLinkAttributesOutput
Consumes the builder and constructs a GetLinkAttributesOutput.
Trait Implementations§
source§impl Clone for GetLinkAttributesOutputBuilder
impl Clone for GetLinkAttributesOutputBuilder
source§fn clone(&self) -> GetLinkAttributesOutputBuilder
fn clone(&self) -> GetLinkAttributesOutputBuilder
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 GetLinkAttributesOutputBuilder
impl Default for GetLinkAttributesOutputBuilder
source§fn default() -> GetLinkAttributesOutputBuilder
fn default() -> GetLinkAttributesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetLinkAttributesOutputBuilder
impl PartialEq for GetLinkAttributesOutputBuilder
source§fn eq(&self, other: &GetLinkAttributesOutputBuilder) -> bool
fn eq(&self, other: &GetLinkAttributesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetLinkAttributesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetLinkAttributesOutputBuilder
impl Send for GetLinkAttributesOutputBuilder
impl Sync for GetLinkAttributesOutputBuilder
impl Unpin for GetLinkAttributesOutputBuilder
impl UnwindSafe for GetLinkAttributesOutputBuilder
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.