public enum ImageAttribute extends Enum<ImageAttribute>
Enum Constant and 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 |
Modifier and Type | Method and 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.
|
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
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 nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<ImageAttribute>
public static ImageAttribute fromValue(String attribute)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.