public static enum MysqlConnection.SslMode extends Enum<MysqlConnection.SslMode> implements BmcEnum
SSL modes for MySQL.
Enum Constant and Description |
---|
Disabled |
Preferred |
Required |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
VerifyCa |
VerifyIdentity |
Modifier and Type | Method and Description |
---|---|
static MysqlConnection.SslMode |
create(String key) |
String |
getValue() |
static MysqlConnection.SslMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MysqlConnection.SslMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MysqlConnection.SslMode Disabled
public static final MysqlConnection.SslMode Preferred
public static final MysqlConnection.SslMode Required
public static final MysqlConnection.SslMode VerifyCa
public static final MysqlConnection.SslMode VerifyIdentity
public static final MysqlConnection.SslMode UnknownEnumValue
public static MysqlConnection.SslMode[] values()
for (MysqlConnection.SslMode c : MysqlConnection.SslMode.values()) System.out.println(c);
public static MysqlConnection.SslMode 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 MysqlConnection.SslMode create(String key)
Copyright © 2016–2024. All rights reserved.