Uses of Enum
com.azure.ai.translation.text.models.ProfanityAction
Package
Description
Package containing the data models for TextTranslation.
-
Uses of ProfanityAction in com.azure.ai.translation.text.models
Modifier and TypeMethodDescriptionstatic ProfanityAction
ProfanityAction.fromString
(String value) Parses a serialized value to a ProfanityAction instance.TranslateOptions.getProfanityAction()
static ProfanityAction
Returns the enum constant of this type with the specified name.static ProfanityAction[]
ProfanityAction.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionTranslateOptions.setProfanityAction
(ProfanityAction profanityAction)