public enum FailoverMode extends Enum<FailoverMode>
| Modifier and Type | Method and Description |
|---|---|
String |
getFailoverCode() |
static FailoverMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailoverMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailoverMode IP
public static final FailoverMode CNAME
public static final FailoverMode REGION
public static final FailoverMode GLOBAL
public static FailoverMode[] values()
for (FailoverMode c : FailoverMode.values()) System.out.println(c);
public static FailoverMode 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 getFailoverCode()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.