Enum MonitoredResourceCredential.CredentialType
- java.lang.Object
- 
- java.lang.Enum<MonitoredResourceCredential.CredentialType>
- 
- com.oracle.bmc.stackmonitoring.model.MonitoredResourceCredential.CredentialType
 
 
- 
- All Implemented Interfaces:
- BmcEnum,- Serializable,- Comparable<MonitoredResourceCredential.CredentialType>
 - Enclosing class:
- MonitoredResourceCredential
 
 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 SummaryEnum Constants Enum Constant Description EncryptedExistingPlaintextUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MonitoredResourceCredential.CredentialTypecreate(String key)StringgetValue()static MonitoredResourceCredential.CredentialTypevalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
Existingpublic static final MonitoredResourceCredential.CredentialType Existing 
 - 
Plaintextpublic static final MonitoredResourceCredential.CredentialType Plaintext 
 - 
Encryptedpublic static final MonitoredResourceCredential.CredentialType Encrypted 
 - 
UnknownEnumValuepublic static final MonitoredResourceCredential.CredentialType UnknownEnumValue This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 
- 
 - 
Method Detail- 
valuespublic static MonitoredResourceCredential.CredentialType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MonitoredResourceCredential.CredentialType c : MonitoredResourceCredential.CredentialType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static MonitoredResourceCredential.CredentialType valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
createpublic static MonitoredResourceCredential.CredentialType create(String key) 
 
- 
 
-