Interface Image

    • Method Detail

      • getContainerFormat

        ContainerFormat getContainerFormat()
        Returns:
        the ContainerFormat for the image
      • getDiskFormat

        DiskFormat getDiskFormat()
        Returns:
        the DiskFormat for the image
      • getSize

        Long getSize()
      • getChecksum

        String getChecksum()
        Returns:
        MD5 checksum of the image file data
      • getMinDisk

        long getMinDisk()
        Returns:
        the minimum disk space required in MB. 0 indicates not set
      • getMinRam

        long getMinRam()
        Returns:
        minimum ram required in MB. 0 indicates not set
      • getLocation

        String getLocation()
        Returns:
        the URI of the image entry
      • getOwner

        @Nullable
        String getOwner()
        Returns:
        the owner of the image or null
      • getUpdatedAt

        Date getUpdatedAt()
        Timestamp when an image's metadata was last updated, not its image data, as all image data is immutable once stored in Glance
        Returns:
        the last updated date/time
      • getCreatedAt

        Date getCreatedAt()
        The timestamp of when the image was created
        Returns:
        the created date/time
      • getDeletedAt

        @Nullable
        Date getDeletedAt()
        Returns:
        the date/time the image was deleted or null
      • getStatus

        Image.Status getStatus()
        Returns:
        the current operational status of the image
      • isPublic

        boolean isPublic()
        Indicates whether the image is publicly available
        Returns:
        true if the image is publicly available
      • isDeleted

        boolean isDeleted()
        Returns:
        true if the image has been deleted
      • isProtected

        boolean isProtected()
        Returns:
        true if the image is protected
      • getProperties

        Map<String,​String> getProperties()
        A mapping of free-form key/value pairs that have been saved with the image metadata
        Returns:
        Map of key to value
      • getStoreType

        StoreType getStoreType()
        This will always be null on any list or get request. It is intented as an option for creating, updating or reserving images
        Returns:
        the store type
      • isSnapshot

        boolean isSnapshot()
        Determines if this image is a snapshot
        Returns:
        true if this image is a snapshot
      • getCopyFrom

        String getCopyFrom()
        Returns:
        the image url as String