Struct aws_sdk_emr::model::VolumeSpecification
source · #[non_exhaustive]pub struct VolumeSpecification { /* private fields */ }Expand description
EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an EC2 instance in the cluster.
Implementations§
source§impl VolumeSpecification
impl VolumeSpecification
sourcepub fn volume_type(&self) -> Option<&str>
pub fn volume_type(&self) -> Option<&str>
The volume type. Volume types supported are gp2, io1, and standard.
sourcepub fn iops(&self) -> Option<i32>
pub fn iops(&self) -> Option<i32>
The number of I/O operations per second (IOPS) that the volume supports.
sourcepub fn size_in_gb(&self) -> Option<i32>
pub fn size_in_gb(&self) -> Option<i32>
The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
sourcepub fn throughput(&self) -> Option<i32>
pub fn throughput(&self) -> Option<i32>
The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
source§impl VolumeSpecification
impl VolumeSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VolumeSpecification.
Trait Implementations§
source§impl Clone for VolumeSpecification
impl Clone for VolumeSpecification
source§fn clone(&self) -> VolumeSpecification
fn clone(&self) -> VolumeSpecification
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