Enum ImageAttribute

    • Enum Constant Detail

      • 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.
    • Method Detail

      • values

        public static ImageAttribute[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ImageAttribute c : ImageAttribute.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImageAttribute valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()