public static enum DatabaseConnectionCredentials.CredentialType extends Enum<DatabaseConnectionCredentials.CredentialType> implements BmcEnum
The type of credential used to connect to the database.
Enum Constant and Description |
---|
Details |
NamedCredentials |
NameReference |
SslDetails |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseConnectionCredentials.CredentialType |
create(String key) |
String |
getValue() |
static DatabaseConnectionCredentials.CredentialType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseConnectionCredentials.CredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseConnectionCredentials.CredentialType NameReference
public static final DatabaseConnectionCredentials.CredentialType Details
public static final DatabaseConnectionCredentials.CredentialType SslDetails
public static final DatabaseConnectionCredentials.CredentialType NamedCredentials
public static final DatabaseConnectionCredentials.CredentialType UnknownEnumValue
public static DatabaseConnectionCredentials.CredentialType[] values()
for (DatabaseConnectionCredentials.CredentialType c : DatabaseConnectionCredentials.CredentialType.values()) System.out.println(c);
public static DatabaseConnectionCredentials.CredentialType 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 DatabaseConnectionCredentials.CredentialType create(String key)
Copyright © 2016–2025. All rights reserved.