Struct aws_sdk_emr::types::VolumeSpecification
source · #[non_exhaustive]pub struct VolumeSpecification {
pub volume_type: Option<String>,
pub iops: Option<i32>,
pub size_in_gb: Option<i32>,
pub throughput: Option<i32>,
}
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 Amazon EC2 instance in the cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.volume_type: Option<String>
The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
iops: Option<i32>
The number of I/O operations per second (IOPS) that the volume supports.
size_in_gb: 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.
throughput: 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.
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 gp3, gp2, io1, st1, sc1, 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() -> VolumeSpecificationBuilder
pub fn builder() -> VolumeSpecificationBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VolumeSpecification
impl Debug for VolumeSpecification
source§impl PartialEq for VolumeSpecification
impl PartialEq for VolumeSpecification
source§fn eq(&self, other: &VolumeSpecification) -> bool
fn eq(&self, other: &VolumeSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.