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 that is exposed to the instance, such as
/dev/sdh . |
BlockDeviceMapping.Builder |
ebs(EbsBlockDevice ebs) |
An
EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is
launched. |
BlockDeviceMapping.Builder |
noDevice(String noDevice) |
Suppresses the specified device included in the AMI's block device mapping.
|
BlockDeviceMapping.Builder |
virtualName(String virtualName) |
The virtual device name.
|
copy
apply, build
BlockDeviceMapping.Builder deviceName(String deviceName)
The device name that is exposed to the instance, such as /dev/sdh
. For the root device, you can
use the explicit device name or you can set this parameter to ROOT_DEVICE
and AWS OpsWorks
Stacks will provide the correct device name.
deviceName
- The device name that is exposed to the instance, such as /dev/sdh
. For the root device,
you can use the explicit device name or you can set this parameter to ROOT_DEVICE
and AWS
OpsWorks Stacks will provide the correct device name.BlockDeviceMapping.Builder noDevice(String noDevice)
Suppresses the specified device included in the AMI's block device mapping.
noDevice
- Suppresses the specified device included in the AMI's block device mapping.BlockDeviceMapping.Builder virtualName(String virtualName)
The virtual device name. For more information, see BlockDeviceMapping.
virtualName
- The virtual device name. For more information, see BlockDeviceMapping.BlockDeviceMapping.Builder ebs(EbsBlockDevice ebs)
An EBSBlockDevice
that defines how to configure an Amazon EBS volume when the instance is
launched.
ebs
- An EBSBlockDevice
that defines how to configure an Amazon EBS volume when the instance is
launched.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.