Struct aws_sdk_ec2::model::volume_status_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VolumeStatusInfo
.
Implementations§
source§impl Builder
impl Builder
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
.