Enum Class AmazonInfo.MetaDataKey
java.lang.Object
java.lang.Enum<AmazonInfo.MetaDataKey>
io.micronaut.discovery.eureka.client.v2.AmazonInfo.MetaDataKey
- All Implemented Interfaces:
Serializable
,Comparable<AmazonInfo.MetaDataKey>
,Constable
- Enclosing class:
- AmazonInfo
MetaData key.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Override to apply prepend and append.read
(InputStream inputStream) toString()
static AmazonInfo.MetaDataKey
Returns the enum constant of this class with the specified name.static AmazonInfo.MetaDataKey[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
instanceId
-
amiId
-
instanceType
-
localIpv4
-
localHostname
-
availabilityZone
-
publicHostname
-
publicIpv4
-
mac
-
vpcId
-
accountId
-
-
Field Details
-
name
-
path
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
- Returns:
- The name
-
getURL
Override to apply prepend and append.- Parameters:
prepend
- The prefixappend
- The suffix- Returns:
- The new URL
- Throws:
MalformedURLException
- if the URL is not valid
-
read
- Parameters:
inputStream
- The input stream- Returns:
- The information read
- Throws:
IOException
- if there is an error
-
toString
- Overrides:
toString
in classEnum<AmazonInfo.MetaDataKey>
-