Class SaharaImage

    • Constructor Detail

      • SaharaImage

        public SaharaImage()
    • Method Detail

      • getUsername

        public String getUsername()
        Specified by:
        getUsername in interface Image
        Returns:
        the username of this image
      • getUpdated

        public Date getUpdated()
        Specified by:
        getUpdated in interface Image
        Returns:
        the date the image was last updated
      • getSize

        public long getSize()
        Specified by:
        getSize in interface Image
        Returns:
        the size in bytes
      • getName

        public String getName()
        Specified by:
        getName in interface Image
        Returns:
        the descriptive name of the image
      • getCreated

        public Date getCreated()
        Specified by:
        getCreated in interface Image
        Returns:
        the date the image was created
      • getTags

        public List<String> getTags()
        Specified by:
        getTags in interface Image
        Returns:
        the tags associated with this image
      • getMinDisk

        public int getMinDisk()
        Specified by:
        getMinDisk in interface Image
        Returns:
        the minimum disk in bytes
      • getProgress

        public int getProgress()
        Specified by:
        getProgress in interface Image
        Returns:
        the progress of the image during upload or setup
      • getMinRam

        public int getMinRam()
        Specified by:
        getMinRam in interface Image
        Returns:
        the minimum ram in bytes
      • getMetaData

        public Map<String,​Object> getMetaData()
        Specified by:
        getMetaData in interface Image
        Returns:
        extra metadata/specs associated with the image
      • getId

        public String getId()
        Specified by:
        getId in interface Image
        Returns:
        the identifier of this image
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface Image
        Returns:
        the description of this image