Class SaharaImage
- java.lang.Object
-
- org.openstack4j.openstack.sahara.domain.SaharaImage
-
- All Implemented Interfaces:
Serializable,ModelEntity,Image
public class SaharaImage extends Object implements Image
A Sahara image- Author:
- ekasit.kijsipongse@nectec.or.th
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSaharaImage.SaharaImages-
Nested classes/interfaces inherited from interface org.openstack4j.model.sahara.Image
Image.Status
-
-
Constructor Summary
Constructors Constructor Description SaharaImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreated()StringgetDescription()StringgetId()Map<String,Object>getMetaData()intgetMinDisk()intgetMinRam()StringgetName()intgetProgress()longgetSize()Image.StatusgetStatus()List<String>getTags()DategetUpdated()StringgetUsername()StringtoString()
-
-
-
Method Detail
-
getStatus
public Image.Status getStatus()
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceImage- Returns:
- the username of this image
-
getUpdated
public Date getUpdated()
- Specified by:
getUpdatedin interfaceImage- Returns:
- the date the image was last updated
-
getName
public String getName()
-
getCreated
public Date getCreated()
- Specified by:
getCreatedin interfaceImage- Returns:
- the date the image was created
-
getMinDisk
public int getMinDisk()
- Specified by:
getMinDiskin interfaceImage- Returns:
- the minimum disk in bytes
-
getProgress
public int getProgress()
- Specified by:
getProgressin interfaceImage- Returns:
- the progress of the image during upload or setup
-
getMinRam
public int getMinRam()
-
getMetaData
public Map<String,Object> getMetaData()
- Specified by:
getMetaDatain interfaceImage- Returns:
- extra metadata/specs associated with the image
-
getId
public String getId()
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceImage- Returns:
- the description of this image
-
-