Struct aws_sdk_emr::types::builders::EbsVolumeBuilder
source · #[non_exhaustive]pub struct EbsVolumeBuilder { /* private fields */ }
Expand description
A builder for EbsVolume
.
Implementations§
source§impl EbsVolumeBuilder
impl EbsVolumeBuilder
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 volume_id(self, input: impl Into<String>) -> Self
pub fn volume_id(self, input: impl Into<String>) -> Self
The volume identifier of the EBS volume.
sourcepub fn set_volume_id(self, input: Option<String>) -> Self
pub fn set_volume_id(self, input: Option<String>) -> Self
The volume identifier of the EBS volume.
sourcepub fn get_volume_id(&self) -> &Option<String>
pub fn get_volume_id(&self) -> &Option<String>
The volume identifier of the EBS volume.
Trait Implementations§
source§impl Clone for EbsVolumeBuilder
impl Clone for EbsVolumeBuilder
source§fn clone(&self) -> EbsVolumeBuilder
fn clone(&self) -> EbsVolumeBuilder
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 EbsVolumeBuilder
impl Debug for EbsVolumeBuilder
source§impl Default for EbsVolumeBuilder
impl Default for EbsVolumeBuilder
source§fn default() -> EbsVolumeBuilder
fn default() -> EbsVolumeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EbsVolumeBuilder
impl PartialEq for EbsVolumeBuilder
source§fn eq(&self, other: &EbsVolumeBuilder) -> bool
fn eq(&self, other: &EbsVolumeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsVolumeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EbsVolumeBuilder
impl Send for EbsVolumeBuilder
impl Sync for EbsVolumeBuilder
impl Unpin for EbsVolumeBuilder
impl UnwindSafe for EbsVolumeBuilder
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.