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 Details

    • AZURE_CHINA

      public static final TextTranslationAudience AZURE_CHINA
      Static value AZURE_RESOURCE_MANAGER_CHINA for TextTranslationAudience.
    • AZURE_GOVERNMENT

      public static final TextTranslationAudience AZURE_GOVERNMENT
      Static value AZURE_RESOURCE_MANAGER_GOVERNMENT for TextTranslationAudience.
    • AZURE_PUBLIC_CLOUD

      public static final TextTranslationAudience AZURE_PUBLIC_CLOUD
      Static value AZURE_RESOURCE_MANAGER_PUBLIC_CLOUD for TextTranslationAudience.
  • Constructor Details

    • TextTranslationAudience

      @Deprecated public TextTranslationAudience()
      Deprecated.
      Use the fromString(String) factory method.
      Constructs a TextTranslationAudience object.
  • Method Details

    • fromString

      public static TextTranslationAudience fromString(String name)
      Creates or finds a TextTranslationAudience from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding TextTranslationAudience.
    • values

      public static Collection<TextTranslationAudience> values()
      Returns known TextTranslationAudience values.
      Returns:
      known TextTranslationAudience values.