public enum ExternalAddressState extends Enum<ExternalAddressState>
Enum Constant and Description |
---|
ACTIVE
The address is currently active.
|
FAILED
Failures have been detected in traffic sent to the address.
|
INACTIVE
The address is currently inactive.
|
Modifier and Type | Method and Description |
---|---|
static ExternalAddressState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalAddressState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalAddressState INACTIVE
public static final ExternalAddressState ACTIVE
public static final ExternalAddressState FAILED
public static ExternalAddressState[] values()
for (ExternalAddressState c : ExternalAddressState.values()) System.out.println(c);
public static ExternalAddressState 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 null