#[non_exhaustive]pub struct VolumeConfiguration { /* private fields */ }
Expand description
Describes the configuration of an Amazon Elastic Block Store (Amazon EBS) volume.
Implementations§
source§impl VolumeConfiguration
impl VolumeConfiguration
sourcepub fn volume_type(&self) -> Option<&str>
pub fn volume_type(&self) -> Option<&str>
The volume type.
This can be gp2
for General Purpose SSD, io1
or io2
for Provisioned IOPS SSD, st1
for Throughput Optimized HDD, sc1
for Cold HDD, or standard
for Magnetic volumes.
sourcepub fn volume_size(&self) -> i32
pub fn volume_size(&self) -> i32
The size of the volume, in GiB.
sourcepub fn volume_baseline_iops(&self) -> i32
pub fn volume_baseline_iops(&self) -> i32
The baseline IOPS of the volume.
sourcepub fn volume_burst_iops(&self) -> i32
pub fn volume_burst_iops(&self) -> i32
The burst IOPS of the volume.
sourcepub fn volume_baseline_throughput(&self) -> i32
pub fn volume_baseline_throughput(&self) -> i32
The baseline throughput of the volume.
sourcepub fn volume_burst_throughput(&self) -> i32
pub fn volume_burst_throughput(&self) -> i32
The burst throughput of the volume.
source§impl VolumeConfiguration
impl VolumeConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VolumeConfiguration
.
Trait Implementations§
source§impl Clone for VolumeConfiguration
impl Clone for VolumeConfiguration
source§fn clone(&self) -> VolumeConfiguration
fn clone(&self) -> VolumeConfiguration
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 more