public static enum Config.EncryptionLevel extends Enum<Config.EncryptionLevel>
Enum Constant and Description |
---|
NONE
With this level, the driver will only connect to the server if it can do it without encryption.
|
REQUIRED
With this level, the driver will only connect to the server it if can do it with encryption.
|
Modifier and Type | Method and Description |
---|---|
static Config.EncryptionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Config.EncryptionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Config.EncryptionLevel NONE
public static final Config.EncryptionLevel REQUIRED
public static Config.EncryptionLevel[] values()
for (Config.EncryptionLevel c : Config.EncryptionLevel.values()) System.out.println(c);
public static Config.EncryptionLevel 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 © 2019. All rights reserved.