Struct aws_sdk_ec2::operation::describe_account_attributes::builders::DescribeAccountAttributesOutputBuilder
source · #[non_exhaustive]pub struct DescribeAccountAttributesOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeAccountAttributesOutput
.
Implementations§
source§impl DescribeAccountAttributesOutputBuilder
impl DescribeAccountAttributesOutputBuilder
sourcepub fn account_attributes(self, input: AccountAttribute) -> Self
pub fn account_attributes(self, input: AccountAttribute) -> Self
Appends an item to account_attributes
.
To override the contents of this collection use set_account_attributes
.
Information about the account attributes.
sourcepub fn set_account_attributes(
self,
input: Option<Vec<AccountAttribute>>,
) -> Self
pub fn set_account_attributes( self, input: Option<Vec<AccountAttribute>>, ) -> Self
Information about the account attributes.
sourcepub fn get_account_attributes(&self) -> &Option<Vec<AccountAttribute>>
pub fn get_account_attributes(&self) -> &Option<Vec<AccountAttribute>>
Information about the account attributes.
sourcepub fn build(self) -> DescribeAccountAttributesOutput
pub fn build(self) -> DescribeAccountAttributesOutput
Consumes the builder and constructs a DescribeAccountAttributesOutput
.
Trait Implementations§
source§impl Clone for DescribeAccountAttributesOutputBuilder
impl Clone for DescribeAccountAttributesOutputBuilder
source§fn clone(&self) -> DescribeAccountAttributesOutputBuilder
fn clone(&self) -> DescribeAccountAttributesOutputBuilder
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 DescribeAccountAttributesOutputBuilder
impl Default for DescribeAccountAttributesOutputBuilder
source§fn default() -> DescribeAccountAttributesOutputBuilder
fn default() -> DescribeAccountAttributesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeAccountAttributesOutputBuilder
impl PartialEq for DescribeAccountAttributesOutputBuilder
source§fn eq(&self, other: &DescribeAccountAttributesOutputBuilder) -> bool
fn eq(&self, other: &DescribeAccountAttributesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAccountAttributesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeAccountAttributesOutputBuilder
impl RefUnwindSafe for DescribeAccountAttributesOutputBuilder
impl Send for DescribeAccountAttributesOutputBuilder
impl Sync for DescribeAccountAttributesOutputBuilder
impl Unpin for DescribeAccountAttributesOutputBuilder
impl UnwindSafe for DescribeAccountAttributesOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.