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
source§impl PartialEq for EbsBlockDeviceConfigBuilder
impl PartialEq for EbsBlockDeviceConfigBuilder
source§fn eq(&self, other: &EbsBlockDeviceConfigBuilder) -> bool
fn eq(&self, other: &EbsBlockDeviceConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.