Enum AuthenticationMechanism
- java.lang.Object
-
- java.lang.Enum<AuthenticationMechanism>
-
- com.oracle.bmc.managedkafka.model.AuthenticationMechanism
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<AuthenticationMechanism>
@Generated(value="OracleSDKGenerator", comments="API Version: 20240901") public enum AuthenticationMechanism extends Enum<AuthenticationMechanism> implements BmcEnumSupported Authentication mechanisms
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationMechanismcreate(String key)StringgetValue()static AuthenticationMechanismvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthenticationMechanism[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sasl
public static final AuthenticationMechanism Sasl
-
Mtls
public static final AuthenticationMechanism Mtls
-
-
Method Detail
-
values
public static AuthenticationMechanism[] 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 (AuthenticationMechanism c : AuthenticationMechanism.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationMechanism 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 AuthenticationMechanism create(String key)
-
-