Class AuthenticationMethod
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AuthenticationMethod>
com.azure.resourcemanager.cosmos.models.AuthenticationMethod
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class AuthenticationMethod
extends com.azure.core.util.ExpandableStringEnum<AuthenticationMethod>
Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should
not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is
'Cassandra'.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AuthenticationMethod
Static value Cassandra for AuthenticationMethod.static final AuthenticationMethod
Static value Ldap for AuthenticationMethod.static final AuthenticationMethod
Static value None for AuthenticationMethod. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationMethod
fromString
(String name) Creates or finds a AuthenticationMethod from its string representation.static Collection
<AuthenticationMethod> values()
Gets known AuthenticationMethod values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Static value None for AuthenticationMethod. -
CASSANDRA
Static value Cassandra for AuthenticationMethod. -
LDAP
Static value Ldap for AuthenticationMethod.
-
-
Constructor Details
-
AuthenticationMethod
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AuthenticationMethod value.
-
-
Method Details
-
fromString
Creates or finds a AuthenticationMethod from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AuthenticationMethod.
-
values
Gets known AuthenticationMethod values.- Returns:
- known AuthenticationMethod values.
-
fromString(String)
factory method.