Volume.Type
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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() |
String |
toString() |
public VolumeImpl(@Nullable String id, Volume.Type type, @Nullable Float size, @Nullable String device, boolean bootDevice, boolean durable)
public String getId()
Hardware
or external commands such as backups.public Volume.Type getType()
public Float getSize()
public String getDevice()
public boolean isDurable()
public boolean isBootDevice()
isBootDevice
in interface Volume
Copyright © 2009-2012 jclouds. All Rights Reserved.