Struct aws_sdk_securityhub::types::builders::AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
source · #[non_exhaustive]pub struct AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails
.
Implementations§
source§impl AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
impl AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
sourcepub fn device_name(self, input: impl Into<String>) -> Self
pub fn device_name(self, input: impl Into<String>) -> Self
The device name.
sourcepub fn set_device_name(self, input: Option<String>) -> Self
pub fn set_device_name(self, input: Option<String>) -> Self
The device name.
sourcepub fn get_device_name(&self) -> &Option<String>
pub fn get_device_name(&self) -> &Option<String>
The device name.
sourcepub fn ebs(
self,
input: AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails
) -> Self
pub fn ebs( self, input: AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails ) -> Self
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
sourcepub fn set_ebs(
self,
input: Option<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails>
) -> Self
pub fn set_ebs( self, input: Option<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails> ) -> Self
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
sourcepub fn get_ebs(
&self
) -> &Option<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails>
pub fn get_ebs( &self ) -> &Option<AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails>
Parameters used to automatically set up Amazon EBS volumes when the instance is launched.
sourcepub fn no_device(self, input: impl Into<String>) -> Self
pub fn no_device(self, input: impl Into<String>) -> Self
Omits the device from the block device mapping when an empty string is specified.
sourcepub fn set_no_device(self, input: Option<String>) -> Self
pub fn set_no_device(self, input: Option<String>) -> Self
Omits the device from the block device mapping when an empty string is specified.
sourcepub fn get_no_device(&self) -> &Option<String>
pub fn get_no_device(&self) -> &Option<String>
Omits the device from the block device mapping when an empty string is specified.
sourcepub fn virtual_name(self, input: impl Into<String>) -> Self
pub fn virtual_name(self, input: impl Into<String>) -> Self
The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0
and ephemeral1
. The number of available instance store volumes depends on the instance type.
sourcepub fn set_virtual_name(self, input: Option<String>) -> Self
pub fn set_virtual_name(self, input: Option<String>) -> Self
The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0
and ephemeral1
. The number of available instance store volumes depends on the instance type.
sourcepub fn get_virtual_name(&self) -> &Option<String>
pub fn get_virtual_name(&self) -> &Option<String>
The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0
and ephemeral1
. The number of available instance store volumes depends on the instance type.
sourcepub fn build(self) -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails
pub fn build(self) -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails
Consumes the builder and constructs a AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails
.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
impl Clone for AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
source§fn clone(&self) -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
fn clone(&self) -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
impl Default for AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
source§fn default() -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
fn default() -> AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
source§impl PartialEq for AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
impl PartialEq for AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
source§fn eq(
&self,
other: &AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetailsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.