Interface VolumeAttachment
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
CinderVolumeAttachment
public interface VolumeAttachment extends ModelEntity
Provides volume attachment result- Author:
- Octopus Zhang
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAttachmentId()the attachment id for this volumeStringgetDevice()the device name in the server,like /dev/vddStringgetHostname()return the host where volume is onStringgetId()Gets the id of this volume attachmentStringgetServerId()the server's id in this volume attachmentStringgetVolumeId()the volume's id in this volume attachment
-
-
-
Method Detail
-
getDevice
String getDevice()
the device name in the server,like /dev/vdd- Returns:
- device name
-
getHostname
String getHostname()
return the host where volume is on- Returns:
- hostname
-
getId
String getId()
Gets the id of this volume attachment- Returns:
- the id
-
getServerId
String getServerId()
the server's id in this volume attachment- Returns:
- the id of a server
-
getVolumeId
String getVolumeId()
the volume's id in this volume attachment- Returns:
- the id of a volume
-
getAttachmentId
String getAttachmentId()
the attachment id for this volume- Returns:
- the id of a attachment
-
-