Struct aws_sdk_emr::types::builders::EbsBlockDeviceBuilder
source · #[non_exhaustive]pub struct EbsBlockDeviceBuilder { /* private fields */ }Expand description
A builder for EbsBlockDevice.
Implementations§
source§impl EbsBlockDeviceBuilder
impl EbsBlockDeviceBuilder
sourcepub fn volume_specification(self, input: VolumeSpecification) -> Self
pub fn volume_specification(self, input: VolumeSpecification) -> Self
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.
sourcepub fn set_volume_specification(
self,
input: Option<VolumeSpecification>,
) -> Self
pub fn set_volume_specification( self, input: Option<VolumeSpecification>, ) -> Self
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.
sourcepub fn get_volume_specification(&self) -> &Option<VolumeSpecification>
pub fn get_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.
sourcepub fn device(self, input: impl Into<String>) -> Self
pub fn device(self, input: impl Into<String>) -> Self
The device name that is exposed to the instance, such as /dev/sdh.
sourcepub fn set_device(self, input: Option<String>) -> Self
pub fn set_device(self, input: Option<String>) -> Self
The device name that is exposed to the instance, such as /dev/sdh.
sourcepub fn get_device(&self) -> &Option<String>
pub fn get_device(&self) -> &Option<String>
The device name that is exposed to the instance, such as /dev/sdh.
sourcepub fn build(self) -> EbsBlockDevice
pub fn build(self) -> EbsBlockDevice
Consumes the builder and constructs a EbsBlockDevice.
Trait Implementations§
source§impl Clone for EbsBlockDeviceBuilder
impl Clone for EbsBlockDeviceBuilder
source§fn clone(&self) -> EbsBlockDeviceBuilder
fn clone(&self) -> EbsBlockDeviceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EbsBlockDeviceBuilder
impl Debug for EbsBlockDeviceBuilder
source§impl Default for EbsBlockDeviceBuilder
impl Default for EbsBlockDeviceBuilder
source§fn default() -> EbsBlockDeviceBuilder
fn default() -> EbsBlockDeviceBuilder
source§impl PartialEq for EbsBlockDeviceBuilder
impl PartialEq for EbsBlockDeviceBuilder
source§fn eq(&self, other: &EbsBlockDeviceBuilder) -> bool
fn eq(&self, other: &EbsBlockDeviceBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EbsBlockDeviceBuilder
Auto Trait Implementations§
impl Freeze for EbsBlockDeviceBuilder
impl RefUnwindSafe for EbsBlockDeviceBuilder
impl Send for EbsBlockDeviceBuilder
impl Sync for EbsBlockDeviceBuilder
impl Unpin for EbsBlockDeviceBuilder
impl UnwindSafe for EbsBlockDeviceBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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