#[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.
sourcepub fn root_volume(&self) -> Option<bool>
pub fn root_volume(&self) -> Option<bool>
Contains the image used to boot the instance during launch.
source§impl VolumeConfiguration
impl VolumeConfiguration
sourcepub fn builder() -> VolumeConfigurationBuilder
pub fn builder() -> VolumeConfigurationBuilder
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 moresource§impl Debug for VolumeConfiguration
impl Debug for VolumeConfiguration
source§impl PartialEq<VolumeConfiguration> for VolumeConfiguration
impl PartialEq<VolumeConfiguration> for VolumeConfiguration
source§fn eq(&self, other: &VolumeConfiguration) -> bool
fn eq(&self, other: &VolumeConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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