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 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.Objects.ToStringHelper |
string() |
String |
toString() |
public VolumeImpl(@Nullable
String id,
Volume.Type type,
@Nullable
Float size,
@Nullable
String device,
boolean bootDevice,
boolean durable)
public VolumeImpl(@Nullable
Float size,
boolean bootDevice,
boolean durable)
protected com.google.common.base.Objects.ToStringHelper string()
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 VolumeCopyright © 2009-2017 The Apache Software Foundation. All Rights Reserved.