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