@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentRedaction extends Object implements Serializable, Cloneable, StructuredPojo
Allows you 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
.
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.
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.RedactionType
public 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.
PII
(personally identifiable
information) is the only valid value. You can use PiiEntityTypes
to choose which types of
PII you want to redact.RedactionType
public 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.
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.RedactionType
public 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.
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.RedactionType
public 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).
RedactionOutput
public 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).
RedactionOutput
public 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).
RedactionOutput
public 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).
RedactionOutput
public 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
.
ALL
.PiiEntityType
public 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
.
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
.PiiEntityType
public 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
.
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
.PiiEntityType
public 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
.
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
.PiiEntityType
public 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
.
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
.PiiEntityType
public String toString()
toString
in class Object
Object.toString()
public ContentRedaction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.