Class Attachment

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

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

  • Method Details

    • builder

      public static Attachment.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.
    • getVolumeId

      public String getVolumeId()
      The ID of the volume.
    • getId

      public String getId()
      The ID of the instance.
    • getDevice

      public String getDevice()
      The device as it is exposed to the instance.
    • getStatus

      public Attachment.Status getStatus()
      Volume state.
    • getAttachTime

      public Date getAttachTime()
      Time stamp when the attachment initiated.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(Attachment o)
      Specified by:
      compareTo in interface Comparable<Attachment>