public enum NodeAddressType extends Enum<NodeAddressType>
| Enum Constant and Description |
|---|
EXTERNAL_DNS |
EXTERNAL_IP |
HOSTNAME |
INTERNAL_DNS |
INTERNAL_IP |
| Modifier and Type | Method and Description |
|---|---|
static NodeAddressType |
forValue(String value) |
String |
toValue() |
static NodeAddressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeAddressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeAddressType EXTERNAL_IP
public static final NodeAddressType EXTERNAL_DNS
public static final NodeAddressType INTERNAL_IP
public static final NodeAddressType INTERNAL_DNS
public static final NodeAddressType HOSTNAME
public static NodeAddressType[] values()
for (NodeAddressType c : NodeAddressType.values()) System.out.println(c);
public static NodeAddressType 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 static NodeAddressType forValue(String value)
public String toValue()
Copyright © 2020. All rights reserved.