Class Snapshot


  • public class Snapshot
    extends Object
    An Openstack Cinder Volume Snapshot.
    • Method Detail

      • getId

        public String getId()
        Returns:
        The id of this snapshot
      • getVolumeId

        public String getVolumeId()
        Returns:
        The id of the Volume this snapshot was taken from
      • getStatus

        public Volume.Status getStatus()
        Returns:
        The status of this snapshot
      • getSize

        public int getSize()
        Returns:
        The size in GB of the volume this snapshot was taken from
      • getCreated

        @Nullable
        public Date getCreated()
        Returns:
        The data the snapshot was taken
      • getName

        @Nullable
        public String getName()
        Returns:
        The name of this snapshot - as displayed in the openstack console
      • getDescription

        @Nullable
        public String getDescription()
        Returns:
        The description of this snapshot - as displayed in the openstack console
      • getExtendedAttributes

        @Nullable
        public com.google.common.base.Optional<SnapshotExtendedAttributes> getExtendedAttributes()
        Returns:
        Extended attributes for this snapshot. Only present when the os-extended-snapshot-attributes extension is installed
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • string

        protected com.google.common.base.MoreObjects.ToStringHelper string()