public class NovaVolumeAttachment extends Object implements VolumeAttachment
| Constructor and Description |
|---|
NovaVolumeAttachment() |
| Modifier and Type | Method and Description |
|---|---|
static NovaVolumeAttachment |
create(String volumeId,
String device) |
String |
getDevice()
the device name in the server,like /dev/vdd
|
String |
getId()
Gets the id.
|
String |
getServerId()
the server's id int this attachment
|
String |
getVolumeId()
the volume's id int this attachment
|
String |
toString() |
public static NovaVolumeAttachment create(String volumeId, String device)
public String getDevice()
VolumeAttachmentgetDevice in interface VolumeAttachmentpublic String getId()
VolumeAttachmentgetId in interface VolumeAttachmentpublic String getServerId()
VolumeAttachmentgetServerId in interface VolumeAttachmentpublic String getVolumeId()
VolumeAttachmentgetVolumeId in interface VolumeAttachmentCopyright © 2017. All rights reserved.