Class Volume
java.lang.Object
com.woorea.openstack.cinder.model.Volume
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
getSize()
void
setSourceVolid
(String sourceVolid) void
setVolumeType
(String volumeType) toString()
-
Field Details
-
id
-
status
-
name
-
description
-
availabilityZone
-
volumeType
-
snapshotId
-
sourceVolid
-
bootable
-
attachments
-
metadata
-
createdAt
-
size
-
-
Constructor Details
-
Volume
public Volume()
-
-
Method Details
-
getId
- Returns:
- the id
-
getStatus
- Returns:
- the status
-
getName
- Returns:
- the name
-
getDescription
- Returns:
- the description
-
getAvailabilityZone
- Returns:
- the availabilityZone
-
getVolumeType
- Returns:
- the volumeType
-
getSnapshotId
- Returns:
- the snapshotId
-
getSourceVolid
- Returns:
- the ID of an existing volume (specify in order to create a volume from an existing volume)
-
setSourceVolid
- Parameters:
sourceVolid
- to set
-
setVolumeType
- Parameters:
volumeType
- to set
-
getBootable
- Returns:
- the bootable flag to set
-
getAttachments
- Returns:
- the attachments
-
getMetadata
- Returns:
- the metadata
-
getCreatedAt
- Returns:
- the createdAt
-
getSize
- Returns:
- the size
-
toString
-