Class Volume
- java.lang.Object
-
- com.woorea.openstack.cinder.model.Volume
-
- All Implemented Interfaces:
Serializable
public class Volume extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Volume()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Map<String,Object>>getAttachments()StringgetAvailabilityZone()BooleangetBootable()StringgetCreatedAt()StringgetDescription()StringgetId()Map<String,String>getMetadata()StringgetName()IntegergetSize()StringgetSnapshotId()StringgetSourceVolid()StringgetStatus()StringgetVolumeType()voidsetSourceVolid(String sourceVolid)voidsetVolumeType(String volumeType)StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the id
-
getStatus
public String getStatus()
- Returns:
- the status
-
getName
public String getName()
- Returns:
- the name
-
getDescription
public String getDescription()
- Returns:
- the description
-
getAvailabilityZone
public String getAvailabilityZone()
- Returns:
- the availabilityZone
-
getVolumeType
public String getVolumeType()
- Returns:
- the volumeType
-
getSnapshotId
public String getSnapshotId()
- Returns:
- the snapshotId
-
getSourceVolid
public String getSourceVolid()
- Returns:
- the ID of an existing volume (specify in order to create a volume from an existing volume)
-
setSourceVolid
public void setSourceVolid(String sourceVolid)
- Parameters:
sourceVolid- to set
-
setVolumeType
public void setVolumeType(String volumeType)
- Parameters:
volumeType- to set
-
getBootable
public Boolean getBootable()
- Returns:
- the bootable flag to set
-
getCreatedAt
public String getCreatedAt()
- Returns:
- the createdAt
-
getSize
public Integer getSize()
- Returns:
- the size
-
-