Class AuthenticationMethod
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AuthenticationMethod>
com.azure.resourcemanager.hybridkubernetes.models.AuthenticationMethod
public final class AuthenticationMethod
extends com.azure.core.util.ExpandableStringEnum<AuthenticationMethod>
The mode of client authentication.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AuthenticationMethod
Static value AAD for AuthenticationMethod.static final AuthenticationMethod
Static value Token for AuthenticationMethod. -
Constructor Summary
-
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, hashCode, toString, values
-
Field Details
-
TOKEN
Static value Token for AuthenticationMethod. -
AAD
Static value AAD 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.