public enum RedactionLevel extends Enum<RedactionLevel>
Enum Constant and Description |
---|
FULL
User, System, and Metadata are all redacted.
|
NONE
No redaction is performed.
|
PARTIAL
Only User data is redacted; System and Metadata are not.
|
Modifier and Type | Method and Description |
---|---|
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 nullCopyright © 2020 Couchbase, Inc.. All rights reserved.