public enum ChangeStreamLevel extends java.lang.Enum<ChangeStreamLevel>
Enum Constant and Description |
---|
CLIENT
Observing all changes on the Client
|
COLLECTION
Observing all changes on a specific collection
|
DATABASE
Observing all changes on a specific database
|
Modifier and Type | Method and Description |
---|---|
static ChangeStreamLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeStreamLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeStreamLevel CLIENT
public static final ChangeStreamLevel DATABASE
public static final ChangeStreamLevel COLLECTION
public static ChangeStreamLevel[] values()
for (ChangeStreamLevel c : ChangeStreamLevel.values()) System.out.println(c);
public static ChangeStreamLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved