Struct aws_sdk_ec2::types::builders::VolumeStatusInfoBuilder
source · #[non_exhaustive]pub struct VolumeStatusInfoBuilder { /* private fields */ }
Expand description
A builder for VolumeStatusInfo
.
Implementations§
source§impl VolumeStatusInfoBuilder
impl VolumeStatusInfoBuilder
sourcepub fn details(self, input: VolumeStatusDetails) -> Self
pub fn details(self, input: VolumeStatusDetails) -> Self
Appends an item to details
.
To override the contents of this collection use set_details
.
The details of the volume status.
sourcepub fn set_details(self, input: Option<Vec<VolumeStatusDetails>>) -> Self
pub fn set_details(self, input: Option<Vec<VolumeStatusDetails>>) -> Self
The details of the volume status.
sourcepub fn get_details(&self) -> &Option<Vec<VolumeStatusDetails>>
pub fn get_details(&self) -> &Option<Vec<VolumeStatusDetails>>
The details of the volume status.
sourcepub fn status(self, input: VolumeStatusInfoStatus) -> Self
pub fn status(self, input: VolumeStatusInfoStatus) -> Self
The status of the volume.
sourcepub fn set_status(self, input: Option<VolumeStatusInfoStatus>) -> Self
pub fn set_status(self, input: Option<VolumeStatusInfoStatus>) -> Self
The status of the volume.
sourcepub fn get_status(&self) -> &Option<VolumeStatusInfoStatus>
pub fn get_status(&self) -> &Option<VolumeStatusInfoStatus>
The status of the volume.
sourcepub fn build(self) -> VolumeStatusInfo
pub fn build(self) -> VolumeStatusInfo
Consumes the builder and constructs a VolumeStatusInfo
.
Trait Implementations§
source§impl Clone for VolumeStatusInfoBuilder
impl Clone for VolumeStatusInfoBuilder
source§fn clone(&self) -> VolumeStatusInfoBuilder
fn clone(&self) -> VolumeStatusInfoBuilder
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 VolumeStatusInfoBuilder
impl Debug for VolumeStatusInfoBuilder
source§impl Default for VolumeStatusInfoBuilder
impl Default for VolumeStatusInfoBuilder
source§fn default() -> VolumeStatusInfoBuilder
fn default() -> VolumeStatusInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VolumeStatusInfoBuilder
impl PartialEq for VolumeStatusInfoBuilder
source§fn eq(&self, other: &VolumeStatusInfoBuilder) -> bool
fn eq(&self, other: &VolumeStatusInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VolumeStatusInfoBuilder
Auto Trait Implementations§
impl Freeze for VolumeStatusInfoBuilder
impl RefUnwindSafe for VolumeStatusInfoBuilder
impl Send for VolumeStatusInfoBuilder
impl Sync for VolumeStatusInfoBuilder
impl Unpin for VolumeStatusInfoBuilder
impl UnwindSafe for VolumeStatusInfoBuilder
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.