#[non_exhaustive]pub struct InstanceBlockDeviceMappingBuilder { /* private fields */ }
Expand description
A builder for InstanceBlockDeviceMapping
.
Implementations§
source§impl InstanceBlockDeviceMappingBuilder
impl InstanceBlockDeviceMappingBuilder
sourcepub fn device_name(self, input: impl Into<String>) -> Self
pub fn device_name(self, input: impl Into<String>) -> Self
The device name (for example, /dev/sdh
or xvdh
).
sourcepub fn set_device_name(self, input: Option<String>) -> Self
pub fn set_device_name(self, input: Option<String>) -> Self
The device name (for example, /dev/sdh
or xvdh
).
sourcepub fn get_device_name(&self) -> &Option<String>
pub fn get_device_name(&self) -> &Option<String>
The device name (for example, /dev/sdh
or xvdh
).
sourcepub fn ebs(self, input: EbsInstanceBlockDevice) -> Self
pub fn ebs(self, input: EbsInstanceBlockDevice) -> Self
Parameters used to automatically set up EBS volumes when the instance is launched.
sourcepub fn set_ebs(self, input: Option<EbsInstanceBlockDevice>) -> Self
pub fn set_ebs(self, input: Option<EbsInstanceBlockDevice>) -> Self
Parameters used to automatically set up EBS volumes when the instance is launched.
sourcepub fn get_ebs(&self) -> &Option<EbsInstanceBlockDevice>
pub fn get_ebs(&self) -> &Option<EbsInstanceBlockDevice>
Parameters used to automatically set up EBS volumes when the instance is launched.
sourcepub fn build(self) -> InstanceBlockDeviceMapping
pub fn build(self) -> InstanceBlockDeviceMapping
Consumes the builder and constructs a InstanceBlockDeviceMapping
.
Trait Implementations§
source§impl Clone for InstanceBlockDeviceMappingBuilder
impl Clone for InstanceBlockDeviceMappingBuilder
source§fn clone(&self) -> InstanceBlockDeviceMappingBuilder
fn clone(&self) -> InstanceBlockDeviceMappingBuilder
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 Default for InstanceBlockDeviceMappingBuilder
impl Default for InstanceBlockDeviceMappingBuilder
source§fn default() -> InstanceBlockDeviceMappingBuilder
fn default() -> InstanceBlockDeviceMappingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<InstanceBlockDeviceMappingBuilder> for InstanceBlockDeviceMappingBuilder
impl PartialEq<InstanceBlockDeviceMappingBuilder> for InstanceBlockDeviceMappingBuilder
source§fn eq(&self, other: &InstanceBlockDeviceMappingBuilder) -> bool
fn eq(&self, other: &InstanceBlockDeviceMappingBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceBlockDeviceMappingBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InstanceBlockDeviceMappingBuilder
impl Send for InstanceBlockDeviceMappingBuilder
impl Sync for InstanceBlockDeviceMappingBuilder
impl Unpin for InstanceBlockDeviceMappingBuilder
impl UnwindSafe for InstanceBlockDeviceMappingBuilder
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