Enum ManagedDatabaseCredential.CredentialType
- java.lang.Object
-
- java.lang.Enum<ManagedDatabaseCredential.CredentialType>
-
- com.oracle.bmc.databasemanagement.model.ManagedDatabaseCredential.CredentialType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ManagedDatabaseCredential.CredentialType>
- Enclosing class:
- ManagedDatabaseCredential
public static enum ManagedDatabaseCredential.CredentialType extends Enum<ManagedDatabaseCredential.CredentialType> implements BmcEnum
Indicates the type of credential required to retrieve the details of the optimizer statistics tasks.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedDatabaseCredential.CredentialType
create(String key)
String
getValue()
static ManagedDatabaseCredential.CredentialType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ManagedDatabaseCredential.CredentialType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Secret
public static final ManagedDatabaseCredential.CredentialType Secret
-
Password
public static final ManagedDatabaseCredential.CredentialType Password
-
-
Method Detail
-
values
public static ManagedDatabaseCredential.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 (ManagedDatabaseCredential.CredentialType c : ManagedDatabaseCredential.CredentialType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManagedDatabaseCredential.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 nameNullPointerException
- if the argument is null
-
create
public static ManagedDatabaseCredential.CredentialType create(String key)
-
-