Class VolumeAttachment
java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.VolumeAttachment
An OpenStack Nova Volume Attachment (describes how Volumes are attached to Servers)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
VolumeAttachment.Builder<T extends VolumeAttachment.Builder<T>>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
VolumeAttachment
(String id, String volumeId, String serverId, String device) -
Method Summary
-
Constructor Details
-
VolumeAttachment
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- the attachment id (typically the same as #getVolumeId())
-
getVolumeId
- Returns:
- the id of the volume attached
-
getServerId
- Returns:
- the id of the server the volume is attached to
-
getDevice
- Returns:
- the device name (e.g. "/dev/vdc")
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-