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()
VolumeAttachment
getDevice
in interface VolumeAttachment
public String getId()
VolumeAttachment
getId
in interface VolumeAttachment
public String getServerId()
VolumeAttachment
getServerId
in interface VolumeAttachment
public String getVolumeId()
VolumeAttachment
getVolumeId
in interface VolumeAttachment
Copyright © 2017. All rights reserved.