CopyableBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>
, SdkBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>
public static interface BlockDeviceMapping.Builder extends CopyableBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>
Modifier and Type | Method | Description |
---|---|---|
BlockDeviceMapping.Builder |
deviceName(String 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.
|
BlockDeviceMapping.Builder |
noDevice(Boolean noDevice) |
Suppresses a device mapping.
|
BlockDeviceMapping.Builder |
virtualName(String virtualName) |
The name of the virtual device (for example,
ephemeral0 ). |
copy
apply, build
BlockDeviceMapping.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.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.