pub struct Builder { /* private fields */ }
Expand description
A builder for LaunchTemplateBlockDeviceMapping
.
Implementations§
source§impl Builder
impl Builder
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 virtual_name(self, input: impl Into<String>) -> Self
pub fn virtual_name(self, input: impl Into<String>) -> Self
The virtual device name (ephemeralN).
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).
sourcepub fn ebs(self, input: LaunchTemplateEbsBlockDevice) -> Self
pub fn ebs(self, input: LaunchTemplateEbsBlockDevice) -> Self
Information about the block device for an EBS volume.
sourcepub fn set_ebs(self, input: Option<LaunchTemplateEbsBlockDevice>) -> Self
pub fn set_ebs(self, input: Option<LaunchTemplateEbsBlockDevice>) -> Self
Information about the block device for an EBS volume.
sourcepub fn no_device(self, input: impl Into<String>) -> Self
pub fn no_device(self, input: impl Into<String>) -> Self
To omit the device from the block device mapping, specify an empty string.
sourcepub fn set_no_device(self, input: Option<String>) -> Self
pub fn set_no_device(self, input: Option<String>) -> Self
To omit the device from the block device mapping, specify an empty string.
sourcepub fn build(self) -> LaunchTemplateBlockDeviceMapping
pub fn build(self) -> LaunchTemplateBlockDeviceMapping
Consumes the builder and constructs a LaunchTemplateBlockDeviceMapping
.