@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TranslationSettings extends Object implements Serializable, Cloneable, StructuredPojo
Settings that configure the translation output.
Constructor and Description |
---|
TranslationSettings() |
Modifier and Type | Method and Description |
---|---|
TranslationSettings |
clone() |
boolean |
equals(Object obj) |
String |
getProfanity()
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation
output.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setProfanity(String profanity)
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation
output.
|
String |
toString()
Returns a string representation of this object.
|
TranslationSettings |
withProfanity(Profanity profanity)
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation
output.
|
TranslationSettings |
withProfanity(String profanity)
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation
output.
|
public void setProfanity(String profanity)
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.
To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.
Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
profanity
- Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your
translation output.
To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.
Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
Profanity
public String getProfanity()
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.
To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.
Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.
Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
Profanity
public TranslationSettings withProfanity(String profanity)
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.
To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.
Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
profanity
- Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your
translation output.
To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.
Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
Profanity
public TranslationSettings withProfanity(Profanity profanity)
Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output.
To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.
Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
profanity
- Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your
translation output.
To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words.
Amazon Translate does not detect profanity in all of its supported languages. For languages that support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
Profanity
public String toString()
toString
in class Object
Object.toString()
public TranslationSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.