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 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 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 ==.