public enum RedactionLevel extends Enum<RedactionLevel>
| Enum Constant and Description |
|---|
FULL
User, System and Metadata are all redacted.
|
NONE
No redaction is performed, this is the default
|
PARTIAL
Only user data is redacted, system and metadata are not.
|
| Modifier and Type | Method and Description |
|---|---|
static RedactionLevel |
get() |
static void |
set(RedactionLevel level) |
static RedactionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedactionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedactionLevel NONE
public static final RedactionLevel PARTIAL
public static final RedactionLevel FULL
public static RedactionLevel[] values()
for (RedactionLevel c : RedactionLevel.values()) System.out.println(c);
public static RedactionLevel 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 RedactionLevel get()
public static void set(RedactionLevel level)
Copyright © 2021 Couchbase, Inc.. All rights reserved.