public enum ReplicationOption extends Enum<ReplicationOption>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReplicationOption.Adapter |
| Enum Constant and Description |
|---|
KEEP_DATA_IN_CLOUD |
METADATA_AND_DATA |
METADATA_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static ReplicationOption |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ReplicationOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationOption METADATA_ONLY
public static final ReplicationOption METADATA_AND_DATA
public static final ReplicationOption KEEP_DATA_IN_CLOUD
public static ReplicationOption[] values()
for (ReplicationOption c : ReplicationOption.values()) System.out.println(c);
public static ReplicationOption 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 getValue()
public String toString()
toString in class Enum<ReplicationOption>public static ReplicationOption fromValue(String text)
Copyright © 2021. All rights reserved.