#[non_exhaustive]pub struct VolumeConfiguration { /* private fields */ }
Expand description
Describes the configuration of an Amazon Elastic Block Store (Amazon EBS) volume.
Implementations
sourceimpl 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.
sourceimpl VolumeConfiguration
impl VolumeConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VolumeConfiguration
.
Trait Implementations
sourceimpl Clone for VolumeConfiguration
impl Clone for VolumeConfiguration
sourcefn clone(&self) -> VolumeConfiguration
fn clone(&self) -> VolumeConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VolumeConfiguration
impl Debug for VolumeConfiguration
sourceimpl PartialEq<VolumeConfiguration> for VolumeConfiguration
impl PartialEq<VolumeConfiguration> for VolumeConfiguration
sourcefn eq(&self, other: &VolumeConfiguration) -> bool
fn eq(&self, other: &VolumeConfiguration) -> bool
impl StructuralPartialEq for VolumeConfiguration
Auto Trait Implementations
impl RefUnwindSafe for VolumeConfiguration
impl Send for VolumeConfiguration
impl Sync for VolumeConfiguration
impl Unpin for VolumeConfiguration
impl UnwindSafe for VolumeConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more