public enum DigitalOceanMetadataKeys extends Enum<DigitalOceanMetadataKeys>
Enum Constant and Description |
---|
CIDR |
DNS |
DROPLET_ID |
FEATURES |
FLOATING_IP |
FLOATING_IP_ACTIVE |
GATEWAY |
HOSTNAME |
INTERFACE_TYPE |
INTERFACES |
IP_ADDRESS |
IPV4 |
IPV6 |
MAC |
NAMESERVERS |
NETMASK |
PRIVATE_INTERFACES |
PUBLIC_INTERFACES |
PUBLIC_KEYS |
REGION |
USER_DATA |
VENDOR_DATA |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static DigitalOceanMetadataKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigitalOceanMetadataKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigitalOceanMetadataKeys DROPLET_ID
public static final DigitalOceanMetadataKeys HOSTNAME
public static final DigitalOceanMetadataKeys VENDOR_DATA
public static final DigitalOceanMetadataKeys USER_DATA
public static final DigitalOceanMetadataKeys PUBLIC_KEYS
public static final DigitalOceanMetadataKeys REGION
public static final DigitalOceanMetadataKeys INTERFACES
public static final DigitalOceanMetadataKeys PRIVATE_INTERFACES
public static final DigitalOceanMetadataKeys PUBLIC_INTERFACES
public static final DigitalOceanMetadataKeys IPV4
public static final DigitalOceanMetadataKeys IPV6
public static final DigitalOceanMetadataKeys MAC
public static final DigitalOceanMetadataKeys INTERFACE_TYPE
public static final DigitalOceanMetadataKeys IP_ADDRESS
public static final DigitalOceanMetadataKeys NETMASK
public static final DigitalOceanMetadataKeys GATEWAY
public static final DigitalOceanMetadataKeys CIDR
public static final DigitalOceanMetadataKeys FLOATING_IP
public static final DigitalOceanMetadataKeys FLOATING_IP_ACTIVE
public static final DigitalOceanMetadataKeys DNS
public static final DigitalOceanMetadataKeys NAMESERVERS
public static final DigitalOceanMetadataKeys FEATURES
public static DigitalOceanMetadataKeys[] values()
for (DigitalOceanMetadataKeys c : DigitalOceanMetadataKeys.values()) System.out.println(c);
public static DigitalOceanMetadataKeys 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 getName()