Enum Class DigitalOceanMetadataKeys
java.lang.Object
java.lang.Enum<DigitalOceanMetadataKeys>
io.micronaut.discovery.cloud.digitalocean.DigitalOceanMetadataKeys
- All Implemented Interfaces:
Serializable
,Comparable<DigitalOceanMetadataKeys>
,Constable
A enum of Digital Ocean metadata.
- Since:
- 1.1
- Author:
- Alvaro Sanchez-Mariscal
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
static DigitalOceanMetadataKeys
Returns the enum constant of this class with the specified name.static DigitalOceanMetadataKeys[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DROPLET_ID
-
HOSTNAME
-
VENDOR_DATA
-
USER_DATA
-
PUBLIC_KEYS
-
REGION
-
INTERFACES
-
PRIVATE_INTERFACES
-
PUBLIC_INTERFACES
-
IPV4
-
IPV6
-
MAC
-
INTERFACE_TYPE
-
IP_ADDRESS
-
NETMASK
-
GATEWAY
-
CIDR
-
FLOATING_IP
-
FLOATING_IP_ACTIVE
-
DNS
-
NAMESERVERS
-
FEATURES
-
-
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 of the metadata key represented in Digital Ocean Metadata JSON.
-