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