Struct aws_sdk_emr::types::builders::EbsBlockDeviceConfigBuilder
source · #[non_exhaustive]pub struct EbsBlockDeviceConfigBuilder { /* private fields */ }Expand description
A builder for EbsBlockDeviceConfig.
Implementations§
source§impl EbsBlockDeviceConfigBuilder
impl EbsBlockDeviceConfigBuilder
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.
This field is required.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 volumes_per_instance(self, input: i32) -> Self
pub fn volumes_per_instance(self, input: i32) -> Self
Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group
sourcepub fn set_volumes_per_instance(self, input: Option<i32>) -> Self
pub fn set_volumes_per_instance(self, input: Option<i32>) -> Self
Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group
sourcepub fn get_volumes_per_instance(&self) -> &Option<i32>
pub fn get_volumes_per_instance(&self) -> &Option<i32>
Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group
sourcepub fn build(self) -> EbsBlockDeviceConfig
pub fn build(self) -> EbsBlockDeviceConfig
Consumes the builder and constructs a EbsBlockDeviceConfig.
Trait Implementations§
source§impl Clone for EbsBlockDeviceConfigBuilder
impl Clone for EbsBlockDeviceConfigBuilder
source§fn clone(&self) -> EbsBlockDeviceConfigBuilder
fn clone(&self) -> EbsBlockDeviceConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EbsBlockDeviceConfigBuilder
impl Debug for EbsBlockDeviceConfigBuilder
source§impl Default for EbsBlockDeviceConfigBuilder
impl Default for EbsBlockDeviceConfigBuilder
source§fn default() -> EbsBlockDeviceConfigBuilder
fn default() -> EbsBlockDeviceConfigBuilder
impl StructuralPartialEq for EbsBlockDeviceConfigBuilder
Auto Trait Implementations§
impl Freeze for EbsBlockDeviceConfigBuilder
impl RefUnwindSafe for EbsBlockDeviceConfigBuilder
impl Send for EbsBlockDeviceConfigBuilder
impl Sync for EbsBlockDeviceConfigBuilder
impl Unpin for EbsBlockDeviceConfigBuilder
impl UnwindSafe for EbsBlockDeviceConfigBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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