@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentRedaction extends Object implements Serializable, Cloneable, StructuredPojo
Settings for content redaction within a transcription job.
You can redact transcripts in US English (en-us). For more information see: Automatic Content Redaction
| Constructor and Description |
|---|
ContentRedaction() |
| Modifier and Type | Method and Description |
|---|---|
ContentRedaction |
clone() |
boolean |
equals(Object obj) |
String |
getRedactionOutput()
Request parameter where you choose whether to output only the redacted transcript or generate an additional
unredacted transcript.
|
String |
getRedactionType()
Request parameter that defines the entities to be redacted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRedactionOutput(String redactionOutput)
Request parameter where you choose whether to output only the redacted transcript or generate an additional
unredacted transcript.
|
void |
setRedactionType(String redactionType)
Request parameter that defines the entities to be redacted.
|
String |
toString()
Returns a string representation of this object.
|
ContentRedaction |
withRedactionOutput(RedactionOutput redactionOutput)
Request parameter where you choose whether to output only the redacted transcript or generate an additional
unredacted transcript.
|
ContentRedaction |
withRedactionOutput(String redactionOutput)
Request parameter where you choose whether to output only the redacted transcript or generate an additional
unredacted transcript.
|
ContentRedaction |
withRedactionType(RedactionType redactionType)
Request parameter that defines the entities to be redacted.
|
ContentRedaction |
withRedactionType(String redactionType)
Request parameter that defines the entities to be redacted.
|
public void setRedactionType(String redactionType)
Request parameter that defines the entities to be redacted. The only accepted value is PII.
redactionType - Request parameter that defines the entities to be redacted. The only accepted value is PII.RedactionTypepublic String getRedactionType()
Request parameter that defines the entities to be redacted. The only accepted value is PII.
PII.RedactionTypepublic ContentRedaction withRedactionType(String redactionType)
Request parameter that defines the entities to be redacted. The only accepted value is PII.
redactionType - Request parameter that defines the entities to be redacted. The only accepted value is PII.RedactionTypepublic ContentRedaction withRedactionType(RedactionType redactionType)
Request parameter that defines the entities to be redacted. The only accepted value is PII.
redactionType - Request parameter that defines the entities to be redacted. The only accepted value is PII.RedactionTypepublic void setRedactionOutput(String redactionOutput)
Request parameter where you choose whether to output only the redacted transcript or generate an additional unredacted transcript.
When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted transcript and
related information.
When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the unredacted
transcript and related information in addition to the JSON file with the redacted transcript.
redactionOutput - Request parameter where you choose whether to output only the redacted transcript or generate an
additional unredacted transcript.
When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted
transcript and related information.
When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the
unredacted transcript and related information in addition to the JSON file with the redacted transcript.
RedactionOutputpublic String getRedactionOutput()
Request parameter where you choose whether to output only the redacted transcript or generate an additional unredacted transcript.
When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted transcript and
related information.
When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the unredacted
transcript and related information in addition to the JSON file with the redacted transcript.
When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted
transcript and related information.
When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the
unredacted transcript and related information in addition to the JSON file with the redacted transcript.
RedactionOutputpublic ContentRedaction withRedactionOutput(String redactionOutput)
Request parameter where you choose whether to output only the redacted transcript or generate an additional unredacted transcript.
When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted transcript and
related information.
When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the unredacted
transcript and related information in addition to the JSON file with the redacted transcript.
redactionOutput - Request parameter where you choose whether to output only the redacted transcript or generate an
additional unredacted transcript.
When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted
transcript and related information.
When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the
unredacted transcript and related information in addition to the JSON file with the redacted transcript.
RedactionOutputpublic ContentRedaction withRedactionOutput(RedactionOutput redactionOutput)
Request parameter where you choose whether to output only the redacted transcript or generate an additional unredacted transcript.
When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted transcript and
related information.
When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the unredacted
transcript and related information in addition to the JSON file with the redacted transcript.
redactionOutput - Request parameter where you choose whether to output only the redacted transcript or generate an
additional unredacted transcript.
When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted
transcript and related information.
When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the
unredacted transcript and related information in addition to the JSON file with the redacted transcript.
RedactionOutputpublic String toString()
toString in class ObjectObject.toString()public ContentRedaction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.