@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentRedaction extends Object implements Serializable, Cloneable, StructuredPojo
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: RedactionOutput and
RedactionType. You can optionally include PiiEntityTypes to choose which types of PII you
want to redact.
| Constructor and Description |
|---|
ContentRedaction() |
| Modifier and Type | Method and Description |
|---|---|
ContentRedaction |
clone() |
boolean |
equals(Object obj) |
List<String> |
getPiiEntityTypes()
Specify which types of personally identifiable information (PII) you want to redact in your transcript.
|
String |
getRedactionOutput()
Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.
|
String |
getRedactionType()
Specify the category of information you want to redact;
PII (personally identifiable information) is
the only valid value. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPiiEntityTypes(Collection<String> piiEntityTypes)
Specify which types of personally identifiable information (PII) you want to redact in your transcript.
|
void |
setRedactionOutput(String redactionOutput)
Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.
|
void |
setRedactionType(String redactionType)
Specify the category of information you want to redact;
PII (personally identifiable information) is
the only valid value. |
String |
toString()
Returns a string representation of this object.
|
ContentRedaction |
withPiiEntityTypes(Collection<String> piiEntityTypes)
Specify which types of personally identifiable information (PII) you want to redact in your transcript.
|
ContentRedaction |
withPiiEntityTypes(PiiEntityType... piiEntityTypes)
Specify which types of personally identifiable information (PII) you want to redact in your transcript.
|
ContentRedaction |
withPiiEntityTypes(String... piiEntityTypes)
Specify which types of personally identifiable information (PII) you want to redact in your transcript.
|
ContentRedaction |
withRedactionOutput(RedactionOutput redactionOutput)
Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.
|
ContentRedaction |
withRedactionOutput(String redactionOutput)
Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript.
|
ContentRedaction |
withRedactionType(RedactionType redactionType)
Specify the category of information you want to redact;
PII (personally identifiable information) is
the only valid value. |
ContentRedaction |
withRedactionType(String redactionType)
Specify the category of information you want to redact;
PII (personally identifiable information) is
the only valid value. |
public void setRedactionType(String 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. If
you do not include PiiEntityTypes in your request, all PII is redacted.
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. If you do not include PiiEntityTypes in your request, all PII is
redacted.RedactionTypepublic String getRedactionType()
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. If
you do not include PiiEntityTypes in your request, all PII is redacted.
PII (personally identifiable
information) is the only valid value. You can use PiiEntityTypes to choose which types of
PII you want to redact. If you do not include PiiEntityTypes in your request, all PII is
redacted.RedactionTypepublic ContentRedaction withRedactionType(String 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. If
you do not include PiiEntityTypes in your request, all PII is redacted.
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. If you do not include PiiEntityTypes in your request, all PII is
redacted.RedactionTypepublic ContentRedaction withRedactionType(RedactionType 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. If
you do not include PiiEntityTypes in your request, all PII is redacted.
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. If you do not include PiiEntityTypes in your request, all PII is
redacted.RedactionTypepublic void setRedactionOutput(String 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).
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).
RedactionOutputpublic String getRedactionOutput()
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).
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).
RedactionOutputpublic ContentRedaction withRedactionOutput(String 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).
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).
RedactionOutputpublic ContentRedaction withRedactionOutput(RedactionOutput 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).
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).
RedactionOutputpublic List<String> getPiiEntityTypes()
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. If you do not include
PiiEntityTypes in your request, all PII is redacted.
ALL. If you do not include
PiiEntityTypes in your request, all PII is redacted.PiiEntityTypepublic void setPiiEntityTypes(Collection<String> 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. If you do not include
PiiEntityTypes in your request, all PII is redacted.
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. If you do not include
PiiEntityTypes in your request, all PII is redacted.PiiEntityTypepublic ContentRedaction withPiiEntityTypes(String... 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. If you do not include
PiiEntityTypes in your request, all PII is redacted.
NOTE: This method appends the values to the existing list (if any). Use
setPiiEntityTypes(java.util.Collection) or withPiiEntityTypes(java.util.Collection) if you want
to override the existing values.
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. If you do not include
PiiEntityTypes in your request, all PII is redacted.PiiEntityTypepublic ContentRedaction withPiiEntityTypes(Collection<String> 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. If you do not include
PiiEntityTypes in your request, all PII is redacted.
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. If you do not include
PiiEntityTypes in your request, all PII is redacted.PiiEntityTypepublic ContentRedaction withPiiEntityTypes(PiiEntityType... 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. If you do not include
PiiEntityTypes in your request, all PII is redacted.
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. If you do not include
PiiEntityTypes in your request, all PII is redacted.PiiEntityTypepublic String toString()
toString in class ObjectObject.toString()public ContentRedaction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.