public static enum AmazonInfo.MetaDataKey extends java.lang.Enum<AmazonInfo.MetaDataKey>
Enum Constant and Description |
---|
accountId |
amiId |
availabilityZone |
instanceId |
instanceType |
ipv6 |
localHostname |
localIpv4 |
mac |
publicHostname |
publicIpv4 |
spotInstanceAction |
spotTerminationTime |
vpcId |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected java.lang.String |
path |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.net.URL |
getURL(java.lang.String prepend,
java.lang.String append) |
java.lang.String |
read(java.io.InputStream inputStream) |
java.lang.String |
toString() |
static AmazonInfo.MetaDataKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AmazonInfo.MetaDataKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmazonInfo.MetaDataKey instanceId
public static final AmazonInfo.MetaDataKey amiId
public static final AmazonInfo.MetaDataKey instanceType
public static final AmazonInfo.MetaDataKey localIpv4
public static final AmazonInfo.MetaDataKey localHostname
public static final AmazonInfo.MetaDataKey availabilityZone
public static final AmazonInfo.MetaDataKey publicHostname
public static final AmazonInfo.MetaDataKey publicIpv4
public static final AmazonInfo.MetaDataKey ipv6
public static final AmazonInfo.MetaDataKey spotTerminationTime
public static final AmazonInfo.MetaDataKey spotInstanceAction
public static final AmazonInfo.MetaDataKey mac
public static final AmazonInfo.MetaDataKey vpcId
public static final AmazonInfo.MetaDataKey accountId
public static AmazonInfo.MetaDataKey[] values()
for (AmazonInfo.MetaDataKey c : AmazonInfo.MetaDataKey.values()) System.out.println(c);
public static AmazonInfo.MetaDataKey valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.net.URL getURL(java.lang.String prepend, java.lang.String append) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.lang.String read(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Enum<AmazonInfo.MetaDataKey>