Class CinderVolumeAttachment
- java.lang.Object
-
- org.openstack4j.openstack.storage.block.domain.CinderVolumeAttachment
-
- All Implemented Interfaces:
Serializable,ModelEntity,VolumeAttachment
public class CinderVolumeAttachment extends Object implements VolumeAttachment
return a description for this volume attachment job- Author:
- Octopus Zhang
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CinderVolumeAttachment()
-
Method Summary
All Methods Instance Methods Concrete 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 attachmentStringtoString()
-
-
-
Method Detail
-
getDevice
public String getDevice()
Description copied from interface:VolumeAttachmentthe device name in the server,like /dev/vdd- Specified by:
getDevicein interfaceVolumeAttachment- Returns:
- device name
-
getHostname
public String getHostname()
Description copied from interface:VolumeAttachmentreturn the host where volume is on- Specified by:
getHostnamein interfaceVolumeAttachment- Returns:
- hostname
-
getId
public String getId()
Description copied from interface:VolumeAttachmentGets the id of this volume attachment- Specified by:
getIdin interfaceVolumeAttachment- Returns:
- the id
-
getServerId
public String getServerId()
Description copied from interface:VolumeAttachmentthe server's id in this volume attachment- Specified by:
getServerIdin interfaceVolumeAttachment- Returns:
- the id of a server
-
getVolumeId
public String getVolumeId()
Description copied from interface:VolumeAttachmentthe volume's id in this volume attachment- Specified by:
getVolumeIdin interfaceVolumeAttachment- Returns:
- the id of a volume
-
getAttachmentId
public String getAttachmentId()
Description copied from interface:VolumeAttachmentthe attachment id for this volume- Specified by:
getAttachmentIdin interfaceVolumeAttachment- Returns:
- the id of a attachment
-
-