public static interface BlockDeviceMapping.Builder extends SdkPojo, 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). |
copyapplyMutation, 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). For
more information, see Device
Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.
deviceName - The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).
For more information, see Device Naming on Linux
Instances in the Amazon EC2 User Guide for Linux Instances.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. In that case, Amazon EC2 Auto Scaling launches a replacement instance.
noDevice - Suppresses a device mapping.
If this parameter is true for the root device, the instance might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches a replacement instance.
Copyright © 2019. All rights reserved.