#[non_exhaustive]pub struct LaunchTemplateBlockDeviceMapping { /* private fields */ }
Expand description
Describes a block device mapping.
Implementations§
source§impl LaunchTemplateBlockDeviceMapping
impl LaunchTemplateBlockDeviceMapping
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The device name.
sourcepub fn virtual_name(&self) -> Option<&str>
pub fn virtual_name(&self) -> Option<&str>
The virtual device name (ephemeralN).
sourcepub fn ebs(&self) -> Option<&LaunchTemplateEbsBlockDevice>
pub fn ebs(&self) -> Option<&LaunchTemplateEbsBlockDevice>
Information about the block device for an EBS volume.
source§impl LaunchTemplateBlockDeviceMapping
impl LaunchTemplateBlockDeviceMapping
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchTemplateBlockDeviceMapping
.
Trait Implementations§
source§impl Clone for LaunchTemplateBlockDeviceMapping
impl Clone for LaunchTemplateBlockDeviceMapping
source§fn clone(&self) -> LaunchTemplateBlockDeviceMapping
fn clone(&self) -> LaunchTemplateBlockDeviceMapping
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 PartialEq<LaunchTemplateBlockDeviceMapping> for LaunchTemplateBlockDeviceMapping
impl PartialEq<LaunchTemplateBlockDeviceMapping> for LaunchTemplateBlockDeviceMapping
source§fn eq(&self, other: &LaunchTemplateBlockDeviceMapping) -> bool
fn eq(&self, other: &LaunchTemplateBlockDeviceMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.