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 ==.impl StructuralPartialEq for VolumeSpecification
Auto Trait Implementations§
impl Freeze for VolumeSpecification
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more