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)
Suppresses the specified device included in the block device mapping of the AMI.
|
LaunchTemplateBlockDeviceMapping.Builder |
virtualName(String virtualName)
The virtual device name (ephemeralN).
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
LaunchTemplateBlockDeviceMapping.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 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.Builder
ebs(LaunchTemplateEbsBlockDevice)
LaunchTemplateBlockDeviceMapping.Builder noDevice(String noDevice)
Suppresses the specified device included in the block device mapping of the AMI.
noDevice
- Suppresses the specified device included in the block device mapping of the AMI.Copyright © 2020. All rights reserved.