|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ImageAttribute>
org.jclouds.ec2.domain.ImageAttribute
public enum ImageAttribute
An attribute of an AMI.
EC2AsyncClient#modifyImageAttribute,
EC2AsyncClient#resetImageAttribute,
EC2AsyncClient#describeImageAttribute| Enum Constant Summary | |
|---|---|
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 | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ImageAttribute PRODUCT_CODES
public static final ImageAttribute RAMDISK
public static final ImageAttribute KERNEL
public static final ImageAttribute LAUNCH_PERMISSION
public static final ImageAttribute PLATFORM
public static final ImageAttribute BLOCK_DEVICE_MAPPING
public static final ImageAttribute UNRECOGNIZED
| Method Detail |
|---|
public static ImageAttribute[] values()
for (ImageAttribute c : ImageAttribute.values()) System.out.println(c);
public static ImageAttribute valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public String toString()
toString in class Enum<ImageAttribute>public static ImageAttribute fromValue(String attribute)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||