Class Image

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

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

  • Method Details

    • getVirtualizationType

      public VirtualizationType getVirtualizationType()
    • getHypervisor

      public Hypervisor getHypervisor()
    • 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.
    • getArchitecture

      public Image.Architecture getArchitecture()
      The architecture of the image (i386 or x86_64).
    • getId

      public String getId()
      The ID of the AMI.
    • getImageLocation

      public String getImageLocation()
      The location of the AMI.
    • getImageOwnerId

      public String getImageOwnerId()
      AWS Access Key ID of the image owner.
    • getImageState

      public Image.ImageState getImageState()
      Current state of the AMI. If the operation returns available, the image is successfully registered and avail able for launching. If the operation returns deregistered, the image is deregistered and no longer available for launching.
    • getRawState

      public String getRawState()
      raw form of getImageState() as taken directly from the api response xml document/
    • getImageType

      public Image.ImageType getImageType()
      The type of image (machine, kernel, or ramdisk).
    • isPublic

      public boolean isPublic()
      Returns true if this image has public launch permissions. Returns false if it only has implicit and explicit launch permissions.
    • getKernelId

      public String getKernelId()
      The kernel associated with the image, if any. Only applicable for machine images.
    • getPlatform

      public String getPlatform()
      The operating platform of the instance.
    • getProductCodes

      public Set<String> getProductCodes()
      Product codes of the AMI.
    • getRamdiskId

      public String getRamdiskId()
      The RAM disk associated with the image, if any. Only applicable for machine images.
    • compareTo

      public int compareTo(Image o)
      Specified by:
      compareTo in interface Comparable<Image>
    • getRootDeviceType

      public RootDeviceType getRootDeviceType()
      Returns:
      The root device type used by the AMI. The AMI can use an Amazon EBS or instance store root device.
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getRootDeviceName

      public String getRootDeviceName()
    • getEbsBlockDevices

      public Map<String,Image.EbsBlockDevice> getEbsBlockDevices()
    • getTags

      public Map<String,String> getTags()
    • 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