Struct aws_sdk_emr::types::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 Amazon 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 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
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 VolumeSpecification
impl Debug for VolumeSpecification
source§impl PartialEq<VolumeSpecification> for VolumeSpecification
impl PartialEq<VolumeSpecification> for VolumeSpecification
source§fn eq(&self, other: &VolumeSpecification) -> bool
fn eq(&self, other: &VolumeSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VolumeSpecification
Auto Trait Implementations§
impl RefUnwindSafe for VolumeSpecification
impl Send for VolumeSpecification
impl Sync for VolumeSpecification
impl Unpin for VolumeSpecification
impl UnwindSafe for VolumeSpecification
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