Class TextTranslationAudience
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TextTranslationAudience>
com.azure.ai.translation.text.models.TextTranslationAudience
public final class TextTranslationAudience
extends com.azure.core.util.ExpandableStringEnum<TextTranslationAudience>
Defines values for TextTranslationAudience.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TextTranslationAudience
Static value AZURE_RESOURCE_MANAGER_CHINA for TextTranslationAudience.static final TextTranslationAudience
Static value AZURE_RESOURCE_MANAGER_GOVERNMENT for TextTranslationAudience.static final TextTranslationAudience
Static value AZURE_RESOURCE_MANAGER_PUBLIC_CLOUD for TextTranslationAudience. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TextTranslationAudience
fromString
(String name) Creates or finds a TextTranslationAudience from its string representation.static Collection<TextTranslationAudience>
values()
Returns known TextTranslationAudience values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
AZURE_CHINA
Static value AZURE_RESOURCE_MANAGER_CHINA for TextTranslationAudience. -
AZURE_GOVERNMENT
Static value AZURE_RESOURCE_MANAGER_GOVERNMENT for TextTranslationAudience. -
AZURE_PUBLIC_CLOUD
Static value AZURE_RESOURCE_MANAGER_PUBLIC_CLOUD for TextTranslationAudience.
-
-
Constructor Details
-
TextTranslationAudience
Deprecated.Use thefromString(String)
factory method.Constructs a TextTranslationAudience object.
-
-
Method Details
-
fromString
Creates or finds a TextTranslationAudience from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding TextTranslationAudience.
-
values
Returns known TextTranslationAudience values.- Returns:
- known TextTranslationAudience values.
-
fromString(String)
factory method.