Class NovaVolumeAttachment
- java.lang.Object
-
- org.openstack4j.openstack.compute.domain.NovaVolumeAttachment
-
- All Implemented Interfaces:
Serializable,VolumeAttachment,ModelEntity
public class NovaVolumeAttachment extends Object implements VolumeAttachment
return a description for this volume attachment job- Author:
- Octopus Zhang
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NovaVolumeAttachment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NovaVolumeAttachmentcreate(String volumeId, String device)StringgetDevice()the device name in the server,like /dev/vddStringgetId()Gets the id.StringgetServerId()the server's id int this attachmentStringgetVolumeId()the volume's id int this attachmentStringtoString()
-
-
-
Method Detail
-
create
public static NovaVolumeAttachment create(String volumeId, String device)
-
getDevice
public String getDevice()
Description copied from interface:VolumeAttachmentthe device name in the server,like /dev/vdd- Specified by:
getDevicein interfaceVolumeAttachment- Returns:
- device name
-
getId
public String getId()
Description copied from interface:VolumeAttachmentGets the id.- Specified by:
getIdin interfaceVolumeAttachment- Returns:
- the id
-
getServerId
public String getServerId()
Description copied from interface:VolumeAttachmentthe server's id int this attachment- Specified by:
getServerIdin interfaceVolumeAttachment- Returns:
- the id
-
getVolumeId
public String getVolumeId()
Description copied from interface:VolumeAttachmentthe volume's id int this attachment- Specified by:
getVolumeIdin interfaceVolumeAttachment- Returns:
- the id
-
-