public enum RedundancyMode extends Enum<RedundancyMode>
Enum Constant and Description |
---|
ACTIVE_ACTIVE
Enum value ActiveActive.
|
FAILOVER
Enum value Failover.
|
GEO_REDUNDANT
Enum value GeoRedundant.
|
MANUAL
Enum value Manual.
|
NONE
Enum value None.
|
Modifier and Type | Method and Description |
---|---|
static RedundancyMode |
fromString(String value)
Parses a serialized value to a RedundancyMode instance.
|
String |
toString() |
static RedundancyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedundancyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedundancyMode NONE
public static final RedundancyMode MANUAL
public static final RedundancyMode FAILOVER
public static final RedundancyMode ACTIVE_ACTIVE
public static final RedundancyMode GEO_REDUNDANT
public static RedundancyMode[] values()
for (RedundancyMode c : RedundancyMode.values()) System.out.println(c);
public static RedundancyMode 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 RedundancyMode fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<RedundancyMode>
Copyright © 2019. All rights reserved.