public interface BlockDeviceMappingBuilder extends Buildable.Builder<BlockDeviceMappingBuilder,BlockDeviceMappingCreate>
| Modifier and Type | Method and Description |
|---|---|
BlockDeviceMappingBuilder |
bootIndex(int i)
Set device boot index.
|
BlockDeviceMappingBuilder |
deleteOnTermination(boolean deleteOnTermination)
Delete the volume at termination.
|
BlockDeviceMappingBuilder |
destinationType(BDMDestType type)
Defines where the volume comes from.
|
BlockDeviceMappingBuilder |
deviceName(String deviceName)
A device name where the volume is attached in the system at /dev/dev_name.
|
BlockDeviceMappingBuilder |
deviceType(String deviceType)
Used to set the device_type, low level detail that some hypervisors
(currently only libvirt) may support.
|
BlockDeviceMappingBuilder |
diskBus(String diskBus)
Used to set the disk_bus, low level detail that some hypervisors
(currently only libvirt) may support.
|
BlockDeviceMappingBuilder |
snapshotId(String snapshotId)
Set to create a volume from a snapshot id.
|
BlockDeviceMappingBuilder |
sourceType(BDMSourceType type)
The source type of the volume.
|
BlockDeviceMappingBuilder |
uuid(String id)
The device ID.
|
BlockDeviceMappingBuilder |
volumeId(String volumeId)
Set to create a volume from a volume id.
|
BlockDeviceMappingBuilder |
volumeSize(Integer size)
Used to set the volume size of the destination volume (typically needed when source type is image).
|
build, fromBlockDeviceMappingBuilder bootIndex(int i)
i - The boot index.BlockDeviceMappingBuilder deviceName(String deviceName)
deviceName - the device nameBlockDeviceMappingBuilder uuid(String id)
id - the device idBlockDeviceMappingBuilder destinationType(BDMDestType type)
type - the destination typeBlockDeviceMappingBuilder sourceType(BDMSourceType type)
type - the source typeBlockDeviceMappingBuilder deleteOnTermination(boolean deleteOnTermination)
deleteOnTermination - Set to True to delete the volume when the instance is deleted. Set to False to retain the volume when the instance is deleted.BlockDeviceMappingBuilder snapshotId(String snapshotId)
BlockDeviceMappingBuilder volumeId(String volumeId)
BlockDeviceMappingBuilder volumeSize(Integer size)
size - the size of the volume in Gigabytes.BlockDeviceMappingBuilder diskBus(String diskBus)
diskBus - type, e.g ide, usb, virtio, scsiBlockDeviceMappingBuilder deviceType(String deviceType)
deviceType, - disk, cdrom, floppy, lunCopyright © 2021. All rights reserved.