/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.transcribe.model; import java.io.Serializable; /** *
* Makes it possible to redact or flag specified personally identifiable
* information (PII) in your transcript. If you use
* ContentRedaction
, you must also include the sub-parameters:
* PiiEntityTypes
, RedactionOutput
, and
* RedactionType
.
*
* Specify the category of information you want to redact; PII
* (personally identifiable information) is the only valid value. You can
* use PiiEntityTypes
to choose which types of PII you want to
* redact.
*
* Constraints:
* Allowed Values: PII
*/
private String redactionType;
/**
*
* Specify if you want only a redacted transcript, or if you want a redacted * and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe creates only a
* redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon Transcribe
* creates a redacted and an unredacted transcript (as two separate files).
*
* Constraints:
* Allowed Values: redacted, redacted_and_unredacted
*/
private String redactionOutput;
/**
*
* Specify which types of personally identifiable information (PII) you want
* to redact in your transcript. You can include as many types as you'd
* like, or you can select ALL
.
*
* Specify the category of information you want to redact; PII
* (personally identifiable information) is the only valid value. You can
* use PiiEntityTypes
to choose which types of PII you want to
* redact.
*
* Constraints:
* Allowed Values: PII
*
* @return
* Specify the category of information you want to redact;
* PII
(personally identifiable information) is the
* only valid value. You can use PiiEntityTypes
to
* choose which types of PII you want to redact.
*
* Specify the category of information you want to redact; PII
* (personally identifiable information) is the only valid value. You can
* use PiiEntityTypes
to choose which types of PII you want to
* redact.
*
* Constraints:
* Allowed Values: PII
*
* @param redactionType
* Specify the category of information you want to redact;
* PII
(personally identifiable information) is the
* only valid value. You can use PiiEntityTypes
to
* choose which types of PII you want to redact.
*
* Specify the category of information you want to redact; PII
* (personally identifiable information) is the only valid value. You can
* use PiiEntityTypes
to choose which types of PII you want to
* redact.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: PII
*
* @param redactionType
* Specify the category of information you want to redact;
* PII
(personally identifiable information) is the
* only valid value. You can use PiiEntityTypes
to
* choose which types of PII you want to redact.
*
* Specify the category of information you want to redact; PII
* (personally identifiable information) is the only valid value. You can
* use PiiEntityTypes
to choose which types of PII you want to
* redact.
*
* Constraints:
* Allowed Values: PII
*
* @param redactionType
* Specify the category of information you want to redact;
* PII
(personally identifiable information) is the
* only valid value. You can use PiiEntityTypes
to
* choose which types of PII you want to redact.
*
* Specify the category of information you want to redact; PII
* (personally identifiable information) is the only valid value. You can
* use PiiEntityTypes
to choose which types of PII you want to
* redact.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: PII
*
* @param redactionType
* Specify the category of information you want to redact;
* PII
(personally identifiable information) is the
* only valid value. You can use PiiEntityTypes
to
* choose which types of PII you want to redact.
*
* Specify if you want only a redacted transcript, or if you want a redacted * and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe creates only a
* redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon Transcribe
* creates a redacted and an unredacted transcript (as two separate files).
*
* Constraints:
* Allowed Values: redacted, redacted_and_unredacted
*
* @return
* Specify if you want only a redacted transcript, or if you want a * redacted and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe creates
* only a redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon
* Transcribe creates a redacted and an unredacted transcript (as
* two separate files).
*
* Specify if you want only a redacted transcript, or if you want a redacted * and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe creates only a
* redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon Transcribe
* creates a redacted and an unredacted transcript (as two separate files).
*
* Constraints:
* Allowed Values: redacted, redacted_and_unredacted
*
* @param redactionOutput
* Specify if you want only a redacted transcript, or if you want * a redacted and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe
* creates only a redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon
* Transcribe creates a redacted and an unredacted transcript (as
* two separate files).
*
* Specify if you want only a redacted transcript, or if you want a redacted * and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe creates only a
* redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon Transcribe
* creates a redacted and an unredacted transcript (as two separate files).
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: redacted, redacted_and_unredacted
*
* @param redactionOutput
* Specify if you want only a redacted transcript, or if you want * a redacted and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe
* creates only a redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon
* Transcribe creates a redacted and an unredacted transcript (as
* two separate files).
*
* Specify if you want only a redacted transcript, or if you want a redacted * and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe creates only a
* redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon Transcribe
* creates a redacted and an unredacted transcript (as two separate files).
*
* Constraints:
* Allowed Values: redacted, redacted_and_unredacted
*
* @param redactionOutput
* Specify if you want only a redacted transcript, or if you want * a redacted and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe
* creates only a redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon
* Transcribe creates a redacted and an unredacted transcript (as
* two separate files).
*
* Specify if you want only a redacted transcript, or if you want a redacted * and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe creates only a
* redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon Transcribe
* creates a redacted and an unredacted transcript (as two separate files).
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: redacted, redacted_and_unredacted
*
* @param redactionOutput
* Specify if you want only a redacted transcript, or if you want * a redacted and an unredacted transcript. *
*
* When you choose redacted
Amazon Transcribe
* creates only a redacted transcript.
*
* When you choose redacted_and_unredacted
Amazon
* Transcribe creates a redacted and an unredacted transcript (as
* two separate files).
*
* Specify which types of personally identifiable information (PII) you want
* to redact in your transcript. You can include as many types as you'd
* like, or you can select ALL
.
*
* Specify which types of personally identifiable information (PII)
* you want to redact in your transcript. You can include as many
* types as you'd like, or you can select ALL
.
*
* Specify which types of personally identifiable information (PII) you want
* to redact in your transcript. You can include as many types as you'd
* like, or you can select ALL
.
*
* Specify which types of personally identifiable information
* (PII) you want to redact in your transcript. You can include
* as many types as you'd like, or you can select
* ALL
.
*
* Specify which types of personally identifiable information (PII) you want
* to redact in your transcript. You can include as many types as you'd
* like, or you can select ALL
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param piiEntityTypes
* Specify which types of personally identifiable information
* (PII) you want to redact in your transcript. You can include
* as many types as you'd like, or you can select
* ALL
.
*
* Specify which types of personally identifiable information (PII) you want
* to redact in your transcript. You can include as many types as you'd
* like, or you can select ALL
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param piiEntityTypes
* Specify which types of personally identifiable information
* (PII) you want to redact in your transcript. You can include
* as many types as you'd like, or you can select
* ALL
.
*