Enum Class ImageAttribute

java.lang.Object
java.lang.Enum<ImageAttribute>
org.jclouds.ec2.domain.ImageAttribute
All Implemented Interfaces:
Serializable, Comparable<ImageAttribute>, java.lang.constant.Constable

public enum ImageAttribute extends Enum<ImageAttribute>
  • Enum Constant Details

    • PRODUCT_CODES

      public static final ImageAttribute PRODUCT_CODES
      the product code associated with the AMI.
    • RAMDISK

      public static final ImageAttribute RAMDISK
      the ID of the RAM disk associated with the AMI.
    • KERNEL

      public static final ImageAttribute KERNEL
      the ID of the kernel associated with the AMI.
    • LAUNCH_PERMISSION

      public static final ImageAttribute LAUNCH_PERMISSION
      the launch permissions of the AMI.
    • PLATFORM

      public static final ImageAttribute PLATFORM
      the operating system platform.
    • BLOCK_DEVICE_MAPPING

      public static final ImageAttribute BLOCK_DEVICE_MAPPING
      the mapping that defines native device names to use when exposing virtual devices.
    • UNRECOGNIZED

      public static final ImageAttribute UNRECOGNIZED
  • Method Details

    • values

      public static ImageAttribute[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ImageAttribute valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ImageAttribute>
    • fromValue

      public static ImageAttribute fromValue(String attribute)