Struct aws_sdk_emr::types::EbsBlockDevice
source · #[non_exhaustive]pub struct EbsBlockDevice {
pub volume_specification: Option<VolumeSpecification>,
pub device: Option<String>,
}
Expand description
Configuration of requested EBS block device associated with the instance group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.volume_specification: Option<VolumeSpecification>
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.
device: Option<String>
The device name that is exposed to the instance, such as /dev/sdh.
Implementations§
source§impl EbsBlockDevice
impl EbsBlockDevice
sourcepub fn volume_specification(&self) -> Option<&VolumeSpecification>
pub fn volume_specification(&self) -> Option<&VolumeSpecification>
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.
source§impl EbsBlockDevice
impl EbsBlockDevice
sourcepub fn builder() -> EbsBlockDeviceBuilder
pub fn builder() -> EbsBlockDeviceBuilder
Creates a new builder-style object to manufacture EbsBlockDevice
.
Trait Implementations§
source§impl Clone for EbsBlockDevice
impl Clone for EbsBlockDevice
source§fn clone(&self) -> EbsBlockDevice
fn clone(&self) -> EbsBlockDevice
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 EbsBlockDevice
impl Debug for EbsBlockDevice
source§impl PartialEq for EbsBlockDevice
impl PartialEq for EbsBlockDevice
source§fn eq(&self, other: &EbsBlockDevice) -> bool
fn eq(&self, other: &EbsBlockDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsBlockDevice
Auto Trait Implementations§
impl RefUnwindSafe for EbsBlockDevice
impl Send for EbsBlockDevice
impl Sync for EbsBlockDevice
impl Unpin for EbsBlockDevice
impl UnwindSafe for EbsBlockDevice
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
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>
Creates a shared type from an unshared type.