Package com.oracle.bmc.datasafe.model
Enum UserDetails.AuthenticationType
- java.lang.Object
-
- java.lang.Enum<UserDetails.AuthenticationType>
-
- com.oracle.bmc.datasafe.model.UserDetails.AuthenticationType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UserDetails.AuthenticationType>
- Enclosing class:
- UserDetails
public static enum UserDetails.AuthenticationType extends Enum<UserDetails.AuthenticationType> implements BmcEnum
The authentication type of the user.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserDetails.AuthenticationType
create(String key)
String
getValue()
static UserDetails.AuthenticationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserDetails.AuthenticationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Password
public static final UserDetails.AuthenticationType Password
-
None
public static final UserDetails.AuthenticationType None
-
-
Method Detail
-
values
public static UserDetails.AuthenticationType[] 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 (UserDetails.AuthenticationType c : UserDetails.AuthenticationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserDetails.AuthenticationType 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 UserDetails.AuthenticationType create(String key)
-
-