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<VolumeStatusInfoBuilder> for VolumeStatusInfoBuilder
impl PartialEq<VolumeStatusInfoBuilder> 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 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