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 ==
.