Package org.jclouds.compute.domain
Interface Volume
- All Known Implementing Classes:
VolumeImpl
public interface Volume
Describes what appears as a disk to an
OperatingSystem
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Describes the cardinal type of a volume; used to determine scope and exclusivity. -
Method Summary
-
Method Details
-
getId
Unique identifier. If set, can be used to reference the volume for reorganizing withinHardware
or external commands such as backups. -
getType
Volume.Type getType()Describes the cardinal type of a volume; used to determine scope and exclusivity. -
getSize
- Returns:
- capacity in gigabytes, if available
-
getDevice
- Returns:
- device this volume relates to on an operating system, if available
-
isDurable
boolean isDurable()- Returns:
- true if this survives restarts
-
isBootDevice
boolean isBootDevice()- Returns:
- true if this is the boot device
-