Class CinderVolume

    • Constructor Detail

      • CinderVolume

        public CinderVolume()
    • Method Detail

      • builder

        public static VolumeBuilder builder()
        Returns:
        the Volume Builder
      • getId

        public String getId()
        Specified by:
        getId in interface Volume
        Returns:
        the identifier for the volume
      • getName

        public String getName()
        Specified by:
        getName in interface Volume
        Returns:
        the name of the volume
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in interface Volume
        Returns:
        the display name of the volume
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface Volume
        Returns:
        the description of the volume
      • getDisplayDescription

        public String getDisplayDescription()
        Specified by:
        getDisplayDescription in interface Volume
        Returns:
        the display description of the volume
      • getSize

        public int getSize()
        Specified by:
        getSize in interface Volume
        Returns:
        the size in GB of the volume
      • getZone

        public String getZone()
        Specified by:
        getZone in interface Volume
        Returns:
        the zone of availability to use
      • getCreated

        public Date getCreated()
        Specified by:
        getCreated in interface Volume
        Returns:
        the created date of the volume
      • getVolumeType

        public String getVolumeType()
        Specified by:
        getVolumeType in interface Volume
        Returns:
        the type of volume
      • getSnapshotId

        public String getSnapshotId()
        Specified by:
        getSnapshotId in interface Volume
        Returns:
        the snapshot identifier
      • getImageRef

        public String getImageRef()
        Specified by:
        getImageRef in interface Volume
        Returns:
        the image reference identifier (if an image was associated) otherwise null
      • multiattach

        public Boolean multiattach()
        Specified by:
        multiattach in interface Volume
        Returns:
        To enable this volume to attach
      • getSourceVolid

        public String getSourceVolid()
        Specified by:
        getSourceVolid in interface Volume
        Returns:
        ID of source volume to clone from
      • getMetaData

        public Map<String,​String> getMetaData()
        Specified by:
        getMetaData in interface Volume
        Returns:
        extended meta data information. key value pair of String key, String value
      • bootable

        public boolean bootable()
        Specified by:
        bootable in interface Volume
        Returns:
        whether the volume is bootable
      • encrypted

        public boolean encrypted()
        Specified by:
        encrypted in interface Volume
        Returns:
        whether this volume is encrypted.
      • host

        public String host()
        Specified by:
        host in interface Volume
        Returns:
        current back-end of the volume.