Package org.jclouds.ec2.domain
Enum ImageAttribute
- java.lang.Object
-
- java.lang.Enum<ImageAttribute>
-
- org.jclouds.ec2.domain.ImageAttribute
-
- All Implemented Interfaces:
Serializable
,Comparable<ImageAttribute>
public enum ImageAttribute extends Enum<ImageAttribute>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCK_DEVICE_MAPPING
the mapping that defines native device names to use when exposing virtual devices.KERNEL
the ID of the kernel associated with the AMI.LAUNCH_PERMISSION
the launch permissions of the AMI.PLATFORM
the operating system platform.PRODUCT_CODES
the product code associated with the AMI.RAMDISK
the ID of the RAM disk associated with the AMI.UNRECOGNIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageAttribute
fromValue(String attribute)
String
toString()
String
value()
static ImageAttribute
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImageAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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.
-
UNRECOGNIZED
public static final ImageAttribute UNRECOGNIZED
-
-
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 nameNullPointerException
- if the argument is null
-
value
public String value()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ImageAttribute>
-
fromValue
public static ImageAttribute fromValue(String attribute)
-
-