Class KeySource
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<KeySource>
-
- com.azure.resourcemanager.cognitiveservices.models.KeySource
-
public final class KeySource extends com.azure.core.util.ExpandableStringEnum<KeySource>
Defines values for KeySource.
-
-
Field Summary
Fields Modifier and Type Field Description static KeySource
MICROSOFT_COGNITIVE_SERVICES
Static value Microsoft.CognitiveServices for KeySource.static KeySource
MICROSOFT_KEY_VAULT
Static value Microsoft.KeyVault for KeySource.
-
Constructor Summary
Constructors Constructor Description KeySource()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeySource
fromString(String name)
Creates or finds a KeySource from its string representation.static Collection<KeySource>
values()
-
-
-
Method Detail
-
fromString
public static KeySource fromString(String name)
Creates or finds a KeySource from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding KeySource.
-
values
public static Collection<KeySource> values()
- Returns:
- known KeySource values.
-
-