public static enum MonitoredResourceCredential.CredentialType extends Enum<MonitoredResourceCredential.CredentialType> implements BmcEnum
Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED. * EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential. * PLAINTEXT - The credential properties will have credentials in plain text format. * ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
Enum Constant and Description |
---|
Encrypted |
Existing |
Plaintext |
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 MonitoredResourceCredential.CredentialType |
create(String key) |
String |
getValue() |
static MonitoredResourceCredential.CredentialType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitoredResourceCredential.CredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitoredResourceCredential.CredentialType Existing
public static final MonitoredResourceCredential.CredentialType Plaintext
public static final MonitoredResourceCredential.CredentialType Encrypted
public static final MonitoredResourceCredential.CredentialType UnknownEnumValue
public static MonitoredResourceCredential.CredentialType[] values()
for (MonitoredResourceCredential.CredentialType c : MonitoredResourceCredential.CredentialType.values()) System.out.println(c);
public static MonitoredResourceCredential.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 MonitoredResourceCredential.CredentialType create(String key)
Copyright © 2016–2024. All rights reserved.