@Stability(value=Experimental) public static final class BlockDevice.Builder extends Object implements software.amazon.jsii.Builder<BlockDevice>
BlockDevice| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BlockDevice |
build()
Builds the configured instance.
|
BlockDevice.Builder |
deviceName(String deviceName)
Sets the value of
BlockDevice.getDeviceName() |
BlockDevice.Builder |
volume(BlockDeviceVolume volume)
Sets the value of
BlockDevice.getVolume() |
@Stability(value=Experimental) public BlockDevice.Builder deviceName(String deviceName)
BlockDevice.getDeviceName()deviceName - The device name exposed to the EC2 instance. This parameter is required.this@Stability(value=Experimental) public BlockDevice.Builder volume(BlockDeviceVolume volume)
BlockDevice.getVolume()volume - Defines the block device volume, to be either an Amazon EBS volume or an ephemeral instance store volume. This parameter is required.this@Stability(value=Experimental) public BlockDevice build()
build in interface software.amazon.jsii.Builder<BlockDevice>BlockDeviceNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.