com.netflix.appinfo
Enum AmazonInfo.MetaDataKey
java.lang.Object
java.lang.Enum<AmazonInfo.MetaDataKey>
com.netflix.appinfo.AmazonInfo.MetaDataKey
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AmazonInfo.MetaDataKey>
- Enclosing class:
- AmazonInfo
public static enum AmazonInfo.MetaDataKey
- extends java.lang.Enum<AmazonInfo.MetaDataKey>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
amiId
public static final AmazonInfo.MetaDataKey amiId
instanceId
public static final AmazonInfo.MetaDataKey instanceId
instanceType
public static final AmazonInfo.MetaDataKey instanceType
localIpv4
public static final AmazonInfo.MetaDataKey localIpv4
availabilityZone
public static final AmazonInfo.MetaDataKey availabilityZone
publicHostname
public static final AmazonInfo.MetaDataKey publicHostname
publicIpv4
public static final AmazonInfo.MetaDataKey publicIpv4
values
public static AmazonInfo.MetaDataKey[] 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 (AmazonInfo.MetaDataKey c : AmazonInfo.MetaDataKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AmazonInfo.MetaDataKey valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getName
public java.lang.String getName()
getPath
public java.lang.String getPath()