Class Volume

java.lang.Object
org.jclouds.ec2.domain.Volume
All Implemented Interfaces:
Comparable<Volume>

public class Volume extends Object implements Comparable<Volume>
See Also:
  • Constructor Details

  • Method Details

    • toBuilder

      public Volume.Builder toBuilder()
    • builder

      public static Volume.Builder builder()
    • getRegion

      @Deprecated public String getRegion()
      Deprecated.
      To be removed in jclouds 1.6

      Warning

      Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context.
    • getId

      public String getId()
    • getSize

      public int getSize()
    • getSnapshotId

      public String getSnapshotId()
    • getAvailabilityZone

      public String getAvailabilityZone()
    • getStatus

      public Volume.Status getStatus()
    • getCreateTime

      public Date getCreateTime()
    • getVolumeType

      public String getVolumeType()
    • getIops

      public Integer getIops()
    • getEncrypted

      public boolean getEncrypted()
    • getAttachments

      public Set<Attachment> getAttachments()
    • hashCode

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

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

      public int compareTo(Volume that)
      Specified by:
      compareTo in interface Comparable<Volume>
    • toString

      public String toString()
      Overrides:
      toString in class Object