Struct aws_sdk_opsworks::operation::describe_volumes::builders::DescribeVolumesOutputBuilder
source · #[non_exhaustive]pub struct DescribeVolumesOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeVolumesOutput
.
Implementations§
source§impl DescribeVolumesOutputBuilder
impl DescribeVolumesOutputBuilder
sourcepub fn volumes(self, input: Volume) -> Self
pub fn volumes(self, input: Volume) -> Self
Appends an item to volumes
.
To override the contents of this collection use set_volumes
.
An array of volume IDs.
sourcepub fn set_volumes(self, input: Option<Vec<Volume>>) -> Self
pub fn set_volumes(self, input: Option<Vec<Volume>>) -> Self
An array of volume IDs.
sourcepub fn get_volumes(&self) -> &Option<Vec<Volume>>
pub fn get_volumes(&self) -> &Option<Vec<Volume>>
An array of volume IDs.
sourcepub fn build(self) -> DescribeVolumesOutput
pub fn build(self) -> DescribeVolumesOutput
Consumes the builder and constructs a DescribeVolumesOutput
.
Trait Implementations§
source§impl Clone for DescribeVolumesOutputBuilder
impl Clone for DescribeVolumesOutputBuilder
source§fn clone(&self) -> DescribeVolumesOutputBuilder
fn clone(&self) -> DescribeVolumesOutputBuilder
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 Debug for DescribeVolumesOutputBuilder
impl Debug for DescribeVolumesOutputBuilder
source§impl Default for DescribeVolumesOutputBuilder
impl Default for DescribeVolumesOutputBuilder
source§fn default() -> DescribeVolumesOutputBuilder
fn default() -> DescribeVolumesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeVolumesOutputBuilder
impl PartialEq for DescribeVolumesOutputBuilder
source§fn eq(&self, other: &DescribeVolumesOutputBuilder) -> bool
fn eq(&self, other: &DescribeVolumesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeVolumesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeVolumesOutputBuilder
impl RefUnwindSafe for DescribeVolumesOutputBuilder
impl Send for DescribeVolumesOutputBuilder
impl Sync for DescribeVolumesOutputBuilder
impl Unpin for DescribeVolumesOutputBuilder
impl UnwindSafe for DescribeVolumesOutputBuilder
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.