Class BlockDeviceMapping
java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.BlockDeviceMapping
A representation of a block device that can be used to boot a Nova instance.
-
Constructor Details
-
BlockDeviceMapping
@ConstructorProperties({"uuid","device_name","device_type","volume_size","source_type","destination_type","disk_bus","no_device","guest_format","boot_index","delete_on_termination"}) protected BlockDeviceMapping(String uuid, String deviceName, String deviceType, Integer volumeSize, String sourceType, String destinationType, String diskBus, Boolean noDevice, String guestFormat, Integer bootIndex, Boolean deleteOnTermination)
-
-
Method Details
-
getUuid
- Returns:
- the uuid of the volume
-
getDeviceName
- Returns:
- the device name
-
getDeviceType
- Returns:
- the device type
-
getVolumeSize
- Returns:
- the size of the volume
-
getSourceType
- Returns:
- the source type of the block device
-
getDestinationType
- Returns:
- the destination type of the block device
-
getDiskBus
- Returns:
- the disk bus of the block device
-
getNoDevice
- Returns:
- true if there is no block device
-
getGuestFormat
- Returns:
- the guest format of the block device
-
getBootIndex
- Returns:
- the boot index of the block device
-
getDeleteOnTermination
- Returns:
- true if the block device should terminate on deletion
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
builder
-
toBuilder
-