| Package | Description |
|---|---|
| software.amazon.awssdk.services.translate.model |
| Modifier and Type | Method and Description |
|---|---|
static Profanity |
Profanity.fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
Profanity |
TranslationSettings.profanity()
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation
output.
|
static Profanity |
Profanity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Profanity[] |
Profanity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<Profanity> |
Profanity.knownValues()
|
| Modifier and Type | Method and Description |
|---|---|
TranslationSettings.Builder |
TranslationSettings.Builder.profanity(Profanity profanity)
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your
translation output.
|
Copyright © 2022. All rights reserved.