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