@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.
| 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()
The output transcript file stored in either the default S3 bucket or in a bucket you specify.
|
String |
redactionOutputAsString()
The output transcript file stored in either the default S3 bucket or in a bucket you specify.
|
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()
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.
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 only the redacted transcript.
When you choose redacted_and_unredacted Amazon Transcribe outputs both the redacted and
unredacted transcripts.
RedactionOutputpublic String redactionOutputAsString()
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.
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 only the redacted transcript.
When you choose redacted_and_unredacted Amazon Transcribe outputs both the redacted and
unredacted transcripts.
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.