@Generated(value="software.amazon.awssdk:codegen") public final class ContentRedaction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContentRedaction.Builder,ContentRedaction>
Settings for content redaction within a transcription job.
You can redact transcripts in US English (en-us). For more information see: Automatic Content Redaction
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContentRedaction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ContentRedaction.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RedactionOutput |
redactionOutput()
Request parameter where you choose whether to output only the redacted transcript or generate an additional
unredacted transcript.
|
String |
redactionOutputAsString()
Request parameter where you choose whether to output only the redacted transcript or generate an additional
unredacted transcript.
|
RedactionType |
redactionType()
Request parameter that defines the entities to be redacted.
|
String |
redactionTypeAsString()
Request parameter that defines the entities to be redacted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ContentRedaction.Builder> |
serializableBuilderClass() |
ContentRedaction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic RedactionType redactionType()
Request parameter that defines the entities to be redacted. The only accepted value is PII.
If the service returns an enum value that is not available in the current SDK version, redactionType
will return RedactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
redactionTypeAsString().
PII.RedactionTypepublic String redactionTypeAsString()
Request parameter that defines the entities to be redacted. The only accepted value is PII.
If the service returns an enum value that is not available in the current SDK version, redactionType
will return RedactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
redactionTypeAsString().
PII.RedactionTypepublic 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.
If the service returns an enum value that is not available in the current SDK version, redactionOutput
will return RedactionOutput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from redactionOutputAsString().
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 redactionOutputAsString()
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.
If the service returns an enum value that is not available in the current SDK version, redactionOutput
will return RedactionOutput.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from redactionOutputAsString().
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ContentRedaction.Builder,ContentRedaction>public static ContentRedaction.Builder builder()
public static Class<? extends ContentRedaction.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.