#[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 to which these mappings apply.
sourcepub fn set_device_name(self, input: Option<String>) -> Self
pub fn set_device_name(self, input: Option<String>) -> Self
The device to which these mappings apply.
sourcepub fn get_device_name(&self) -> &Option<String>
pub fn get_device_name(&self) -> &Option<String>
The device to which these mappings apply.
sourcepub fn ebs(self, input: EbsInstanceBlockDeviceSpecification) -> Self
pub fn ebs(self, input: EbsInstanceBlockDeviceSpecification) -> Self
Use to manage Amazon EBS-specific configuration for this mapping.
sourcepub fn set_ebs(self, input: Option<EbsInstanceBlockDeviceSpecification>) -> Self
pub fn set_ebs(self, input: Option<EbsInstanceBlockDeviceSpecification>) -> Self
Use to manage Amazon EBS-specific configuration for this mapping.
sourcepub fn get_ebs(&self) -> &Option<EbsInstanceBlockDeviceSpecification>
pub fn get_ebs(&self) -> &Option<EbsInstanceBlockDeviceSpecification>
Use to manage Amazon EBS-specific configuration for this mapping.
sourcepub fn virtual_name(self, input: impl Into<String>) -> Self
pub fn virtual_name(self, input: impl Into<String>) -> Self
Use to manage instance ephemeral devices.
sourcepub fn set_virtual_name(self, input: Option<String>) -> Self
pub fn set_virtual_name(self, input: Option<String>) -> Self
Use to manage instance ephemeral devices.
sourcepub fn get_virtual_name(&self) -> &Option<String>
pub fn get_virtual_name(&self) -> &Option<String>
Use to manage instance ephemeral devices.
sourcepub fn no_device(self, input: impl Into<String>) -> Self
pub fn no_device(self, input: impl Into<String>) -> Self
Use to remove a mapping from the base image.
sourcepub fn set_no_device(self, input: Option<String>) -> Self
pub fn set_no_device(self, input: Option<String>) -> Self
Use to remove a mapping from the base image.
sourcepub fn get_no_device(&self) -> &Option<String>
pub fn get_no_device(&self) -> &Option<String>
Use to remove a mapping from the base image.
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 for InstanceBlockDeviceMappingBuilder
impl PartialEq 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
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.