Class VolumeImpl
java.lang.Object
org.jclouds.compute.domain.internal.VolumeImpl
- All Implemented Interfaces:
Volume
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jclouds.compute.domain.Volume
Volume.Type
-
Constructor Summary
ConstructorsConstructorDescriptionVolumeImpl
(Float size, boolean bootDevice, boolean durable) VolumeImpl
(Float size, String device, boolean bootDevice, boolean durable) VolumeImpl
(String id, Volume.Type type, Float size, String device, boolean bootDevice, boolean durable) -
Method Summary
-
Constructor Details
-
VolumeImpl
-
VolumeImpl
-
VolumeImpl
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
getId
Unique identifier. If set, can be used to reference the volume for reorganizing withinHardware
or external commands such as backups. -
getType
Describes the cardinal type of a volume; used to determine scope and exclusivity. -
getSize
-
getDevice
-
isDurable
public boolean isDurable() -
isBootDevice
public boolean isBootDevice()- Specified by:
isBootDevice
in interfaceVolume
- Returns:
- true if this is the boot device
-