public class ContentRedaction
extends java.lang.Object
implements java.io.Serializable
Settings for content redaction within a transcription job.
| Constructor and Description | 
|---|
| ContentRedaction() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getRedactionOutput()
 The output transcript file stored in either the default S3 bucket or in a
 bucket you specify. | 
| java.lang.String | getRedactionType()
 Request parameter that defines the entities to be redacted. | 
| int | hashCode() | 
| void | setRedactionOutput(RedactionOutput redactionOutput)
 The output transcript file stored in either the default S3 bucket or in a
 bucket you specify. | 
| void | setRedactionOutput(java.lang.String redactionOutput)
 The output transcript file stored in either the default S3 bucket or in a
 bucket you specify. | 
| void | setRedactionType(RedactionType redactionType)
 Request parameter that defines the entities to be redacted. | 
| void | setRedactionType(java.lang.String redactionType)
 Request parameter that defines the entities to be redacted. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ContentRedaction | withRedactionOutput(RedactionOutput redactionOutput)
 The output transcript file stored in either the default S3 bucket or in a
 bucket you specify. | 
| ContentRedaction | withRedactionOutput(java.lang.String redactionOutput)
 The output transcript file stored in either the default S3 bucket or in a
 bucket you specify. | 
| ContentRedaction | withRedactionType(RedactionType redactionType)
 Request parameter that defines the entities to be redacted. | 
| ContentRedaction | withRedactionType(java.lang.String redactionType)
 Request parameter that defines the entities to be redacted. | 
public java.lang.String getRedactionType()
 Request parameter that defines the entities to be redacted. The only
 accepted value is PII.
 
 Constraints:
 Allowed Values: PII
         Request parameter that defines the entities to be redacted. The
         only accepted value is PII.
         
RedactionTypepublic void setRedactionType(java.lang.String redactionType)
 Request parameter that defines the entities to be redacted. The only
 accepted value is PII.
 
 Constraints:
 Allowed Values: PII
redactionType - 
            Request parameter that defines the entities to be redacted.
            The only accepted value is PII.
            
RedactionTypepublic ContentRedaction withRedactionType(java.lang.String redactionType)
 Request parameter that defines the entities to be redacted. The only
 accepted value is PII.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: PII
redactionType - 
            Request parameter that defines the entities to be redacted.
            The only accepted value is PII.
            
RedactionTypepublic void setRedactionType(RedactionType redactionType)
 Request parameter that defines the entities to be redacted. The only
 accepted value is PII.
 
 Constraints:
 Allowed Values: 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.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: PII
redactionType - 
            Request parameter that defines the entities to be redacted.
            The only accepted value is PII.
            
RedactionTypepublic java.lang.String getRedactionOutput()
The output transcript file stored in either the default S3 bucket or in a bucket you specify.
 When you choose redacted Amazon Transcribe outputs only the
 redacted transcript.
 
 When you choose redacted_and_unredacted Amazon Transcribe
 outputs both the redacted and unredacted transcripts.
 
 Constraints:
 Allowed Values: redacted, redacted_and_unredacted
The output transcript file stored in either the default S3 bucket or in a bucket you specify.
         When you choose redacted Amazon Transcribe outputs
         only the redacted transcript.
         
         When you choose redacted_and_unredacted Amazon
         Transcribe outputs both the redacted and unredacted transcripts.
         
RedactionOutputpublic void setRedactionOutput(java.lang.String redactionOutput)
The output transcript file stored in either the default S3 bucket or in a bucket you specify.
 When you choose redacted Amazon Transcribe outputs only the
 redacted transcript.
 
 When you choose redacted_and_unredacted Amazon Transcribe
 outputs both the redacted and unredacted transcripts.
 
 Constraints:
 Allowed Values: redacted, redacted_and_unredacted
redactionOutput - The output transcript file stored in either the default S3 bucket or in a bucket you specify.
            When you choose redacted Amazon Transcribe
            outputs only the redacted transcript.
            
            When you choose redacted_and_unredacted Amazon
            Transcribe outputs both the redacted and unredacted
            transcripts.
            
RedactionOutputpublic ContentRedaction withRedactionOutput(java.lang.String redactionOutput)
The output transcript file stored in either the default S3 bucket or in a bucket you specify.
 When you choose redacted Amazon Transcribe outputs only the
 redacted transcript.
 
 When you choose redacted_and_unredacted Amazon Transcribe
 outputs both the redacted and unredacted transcripts.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: redacted, redacted_and_unredacted
redactionOutput - The output transcript file stored in either the default S3 bucket or in a bucket you specify.
            When you choose redacted Amazon Transcribe
            outputs only the redacted transcript.
            
            When you choose redacted_and_unredacted Amazon
            Transcribe outputs both the redacted and unredacted
            transcripts.
            
RedactionOutputpublic void setRedactionOutput(RedactionOutput redactionOutput)
The output transcript file stored in either the default S3 bucket or in a bucket you specify.
 When you choose redacted Amazon Transcribe outputs only the
 redacted transcript.
 
 When you choose redacted_and_unredacted Amazon Transcribe
 outputs both the redacted and unredacted transcripts.
 
 Constraints:
 Allowed Values: redacted, redacted_and_unredacted
redactionOutput - The output transcript file stored in either the default S3 bucket or in a bucket you specify.
            When you choose redacted Amazon Transcribe
            outputs only the redacted transcript.
            
            When you choose redacted_and_unredacted Amazon
            Transcribe outputs both the redacted and unredacted
            transcripts.
            
RedactionOutputpublic ContentRedaction withRedactionOutput(RedactionOutput redactionOutput)
The output transcript file stored in either the default S3 bucket or in a bucket you specify.
 When you choose redacted Amazon Transcribe outputs only the
 redacted transcript.
 
 When you choose redacted_and_unredacted Amazon Transcribe
 outputs both the redacted and unredacted transcripts.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: redacted, redacted_and_unredacted
redactionOutput - The output transcript file stored in either the default S3 bucket or in a bucket you specify.
            When you choose redacted Amazon Transcribe
            outputs only the redacted transcript.
            
            When you choose redacted_and_unredacted Amazon
            Transcribe outputs both the redacted and unredacted
            transcripts.
            
RedactionOutputpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.