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 booleanequals(Object o)StringgetDevice()StringgetId()Unique identifier.FloatgetSize()Volume.TypegetType()Describes the cardinal type of a volume; used to determine scope and exclusivity.inthashCode()booleanisBootDevice()booleanisDurable()protected com.google.common.base.MoreObjects.ToStringHelperstring()StringtoString()
-
-
-
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 withinHardwareor 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:
isBootDevicein interfaceVolume- Returns:
- true if this is the boot device
-
-