Class VolumeSnapshot

java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.VolumeSnapshot

public class VolumeSnapshot extends Object
An OpenStack Nova Volume Snapshot
  • Constructor Details

  • Method Details

    • builder

      public static VolumeSnapshot.Builder<?> builder()
    • toBuilder

      public VolumeSnapshot.Builder<?> toBuilder()
    • 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
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

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

      public String toString()
      Overrides:
      toString in class Object