public static interface LaunchTemplateBlockDeviceMapping.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>
| Modifier and Type | Method and Description |
|---|---|
LaunchTemplateBlockDeviceMapping.Builder |
deviceName(String deviceName)
The device name.
|
default LaunchTemplateBlockDeviceMapping.Builder |
ebs(Consumer<LaunchTemplateEbsBlockDevice.Builder> ebs)
Information about the block device for an EBS volume.
|
LaunchTemplateBlockDeviceMapping.Builder |
ebs(LaunchTemplateEbsBlockDevice ebs)
Information about the block device for an EBS volume.
|
LaunchTemplateBlockDeviceMapping.Builder |
noDevice(String noDevice)
To omit the device from the block device mapping, specify an empty string.
|
LaunchTemplateBlockDeviceMapping.Builder |
virtualName(String virtualName)
The virtual device name (ephemeralN).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLaunchTemplateBlockDeviceMapping.Builder deviceName(String deviceName)
The device name.
deviceName - The device name.LaunchTemplateBlockDeviceMapping.Builder virtualName(String virtualName)
The virtual device name (ephemeralN).
virtualName - The virtual device name (ephemeralN).LaunchTemplateBlockDeviceMapping.Builder ebs(LaunchTemplateEbsBlockDevice ebs)
Information about the block device for an EBS volume.
ebs - Information about the block device for an EBS volume.default LaunchTemplateBlockDeviceMapping.Builder ebs(Consumer<LaunchTemplateEbsBlockDevice.Builder> ebs)
Information about the block device for an EBS volume.
This is a convenience method that creates an instance of theLaunchTemplateEbsBlockDevice.Builder
avoiding the need to create one manually via LaunchTemplateEbsBlockDevice.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to ebs(LaunchTemplateEbsBlockDevice).
ebs - a consumer that will call methods on LaunchTemplateEbsBlockDevice.Builderebs(LaunchTemplateEbsBlockDevice)LaunchTemplateBlockDeviceMapping.Builder noDevice(String noDevice)
To omit the device from the block device mapping, specify an empty string.
noDevice - To omit the device from the block device mapping, specify an empty string.Copyright © 2023. All rights reserved.