Package org.jclouds.compute.domain
Interface Volume
-
- All Known Implementing Classes:
VolumeImpl
public interface Volume
Describes what appears as a disk to anOperatingSystem
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Volume.Type
Describes the cardinal type of a volume; used to determine scope and exclusivity.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDevice()
String
getId()
Unique identifier.Float
getSize()
Volume.Type
getType()
Describes the cardinal type of a volume; used to determine scope and exclusivity.boolean
isBootDevice()
boolean
isDurable()
-
-
-
Method Detail
-
getId
@Nullable String 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.
-
getDevice
@Nullable String 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
-
-