public static interface BlockDeviceMapping.Builder extends CopyableBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>
| Modifier and Type | Method and Description |
|---|---|
BlockDeviceMapping.Builder |
deviceName(String deviceName)
The device name exposed to the EC2 instance (for example,
/dev/sdh or xvdh). |
default BlockDeviceMapping.Builder |
ebs(Consumer<Ebs.Builder> ebs)
The information about the Amazon EBS volume.
|
BlockDeviceMapping.Builder |
ebs(Ebs ebs)
The information about the Amazon EBS volume.
|
BlockDeviceMapping.Builder |
noDevice(Boolean noDevice)
Suppresses a device mapping.
|
BlockDeviceMapping.Builder |
virtualName(String virtualName)
The name of the virtual device (for example,
ephemeral0). |
copyapply, buildBlockDeviceMapping.Builder virtualName(String virtualName)
The name of the virtual device (for example, ephemeral0).
virtualName - The name of the virtual device (for example, ephemeral0).BlockDeviceMapping.Builder deviceName(String deviceName)
The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).
deviceName - The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).BlockDeviceMapping.Builder ebs(Ebs ebs)
The information about the Amazon EBS volume.
ebs - The information about the Amazon EBS volume.default BlockDeviceMapping.Builder ebs(Consumer<Ebs.Builder> ebs)
The information about the Amazon EBS volume.
This is a convenience that creates an instance of theEbs.Builder avoiding the need to create one
manually via Ebs.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to ebs(Ebs).ebs - a consumer that will call methods on Ebs.Builderebs(Ebs)BlockDeviceMapping.Builder noDevice(Boolean noDevice)
Suppresses a device mapping.
If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.
noDevice - Suppresses a device mapping.
If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.