@Generated(value="software.amazon.awssdk:codegen") public final class AmazonTranscribeProcessorConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AmazonTranscribeProcessorConfiguration.Builder,AmazonTranscribeProcessorConfiguration>
A structure that contains the configuration settings for an Amazon Transcribe processor.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AmazonTranscribeProcessorConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AmazonTranscribeProcessorConfiguration.Builder |
builder() |
ContentType |
contentIdentificationType()
Labels all personally identifiable information (PII) identified in your transcript.
|
String |
contentIdentificationTypeAsString()
Labels all personally identifiable information (PII) identified in your transcript.
|
ContentType |
contentRedactionType()
Redacts all personally identifiable information (PII) identified in your transcript.
|
String |
contentRedactionTypeAsString()
Redacts all personally identifiable information (PII) identified in your transcript.
|
Boolean |
enablePartialResultsStabilization()
Enables partial result stabilization for your transcription.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
filterPartialResults()
If true,
TranscriptEvents with IsPartial: true are filtered out of the insights target. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
identifyLanguage()
Turns language identification on or off.
|
CallAnalyticsLanguageCode |
languageCode()
The language code that represents the language spoken in your audio.
|
String |
languageCodeAsString()
The language code that represents the language spoken in your audio.
|
String |
languageModelName()
The name of the custom language model that you want to use when processing your transcription.
|
String |
languageOptions()
The language options for the transcription, such as automatic language detection.
|
PartialResultsStability |
partialResultsStability()
The level of stability to use when you enable partial results stabilization (
EnablePartialResultsStabilization). |
String |
partialResultsStabilityAsString()
The level of stability to use when you enable partial results stabilization (
EnablePartialResultsStabilization). |
String |
piiEntityTypes()
The types of personally identifiable information (PII) to redact from a transcript.
|
CallAnalyticsLanguageCode |
preferredLanguage()
The preferred language for the transcription.
|
String |
preferredLanguageAsString()
The preferred language for the transcription.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AmazonTranscribeProcessorConfiguration.Builder> |
serializableBuilderClass() |
Boolean |
showSpeakerLabel()
Enables speaker partitioning (diarization) in your transcription output.
|
AmazonTranscribeProcessorConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VocabularyFilterMethod |
vocabularyFilterMethod()
The vocabulary filtering method used in your Call Analytics transcription.
|
String |
vocabularyFilterMethodAsString()
The vocabulary filtering method used in your Call Analytics transcription.
|
String |
vocabularyFilterName()
The name of the custom vocabulary filter that you specified in your Call Analytics request.
|
String |
vocabularyFilterNames()
The names of the custom vocabulary filter or filters using during transcription.
|
String |
vocabularyName()
The name of the custom vocabulary that you specified in your Call Analytics request.
|
String |
vocabularyNames()
The names of the custom vocabulary or vocabularies used during transcription.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CallAnalyticsLanguageCode languageCode()
The language code that represents the language spoken in your audio.
If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable
automatic language identification.
For a list of languages that real-time Call Analytics supports, see the Supported languages table in the Amazon Transcribe Developer Guide.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return CallAnalyticsLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from languageCodeAsString().
If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to
enable automatic language identification.
For a list of languages that real-time Call Analytics supports, see the Supported languages table in the Amazon Transcribe Developer Guide.
CallAnalyticsLanguageCodepublic final String languageCodeAsString()
The language code that represents the language spoken in your audio.
If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to enable
automatic language identification.
For a list of languages that real-time Call Analytics supports, see the Supported languages table in the Amazon Transcribe Developer Guide.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return CallAnalyticsLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from languageCodeAsString().
If you're unsure of the language spoken in your audio, consider using IdentifyLanguage to
enable automatic language identification.
For a list of languages that real-time Call Analytics supports, see the Supported languages table in the Amazon Transcribe Developer Guide.
CallAnalyticsLanguageCodepublic final String vocabularyName()
The name of the custom vocabulary that you specified in your Call Analytics request.
Length Constraints: Minimum length of 1. Maximum length of 200.
Length Constraints: Minimum length of 1. Maximum length of 200.
public final String vocabularyFilterName()
The name of the custom vocabulary filter that you specified in your Call Analytics request.
Length Constraints: Minimum length of 1. Maximum length of 200.
Length Constraints: Minimum length of 1. Maximum length of 200.
public final VocabularyFilterMethod vocabularyFilterMethod()
The vocabulary filtering method used in your Call Analytics transcription.
If the service returns an enum value that is not available in the current SDK version,
vocabularyFilterMethod will return VocabularyFilterMethod.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from vocabularyFilterMethodAsString().
VocabularyFilterMethodpublic final String vocabularyFilterMethodAsString()
The vocabulary filtering method used in your Call Analytics transcription.
If the service returns an enum value that is not available in the current SDK version,
vocabularyFilterMethod will return VocabularyFilterMethod.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from vocabularyFilterMethodAsString().
VocabularyFilterMethodpublic final Boolean showSpeakerLabel()
Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning labels the speech from individual speakers in your media file.
For more information, see Partitioning speakers (diarization) in the Amazon Transcribe Developer Guide.
For more information, see Partitioning speakers (diarization) in the Amazon Transcribe Developer Guide.
public final Boolean enablePartialResultsStabilization()
Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
public final PartialResultsStability partialResultsStability()
The level of stability to use when you enable partial results stabilization (
EnablePartialResultsStabilization).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
partialResultsStability will return PartialResultsStability.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from partialResultsStabilityAsString().
EnablePartialResultsStabilization).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
PartialResultsStabilitypublic final String partialResultsStabilityAsString()
The level of stability to use when you enable partial results stabilization (
EnablePartialResultsStabilization).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
partialResultsStability will return PartialResultsStability.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from partialResultsStabilityAsString().
EnablePartialResultsStabilization).
Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy.
For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide.
PartialResultsStabilitypublic final ContentType contentIdentificationType()
Labels all personally identifiable information (PII) identified in your transcript.
Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged
upon complete transcription of an audio segment.
You can’t set ContentIdentificationType and ContentRedactionType in the same request.
If you set both, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
contentIdentificationType will return ContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from contentIdentificationTypeAsString().
Content identification is performed at the segment level; PII specified in PiiEntityTypes is
flagged upon complete transcription of an audio segment.
You can’t set ContentIdentificationType and ContentRedactionType in the same
request. If you set both, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
ContentTypepublic final String contentIdentificationTypeAsString()
Labels all personally identifiable information (PII) identified in your transcript.
Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged
upon complete transcription of an audio segment.
You can’t set ContentIdentificationType and ContentRedactionType in the same request.
If you set both, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
contentIdentificationType will return ContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from contentIdentificationTypeAsString().
Content identification is performed at the segment level; PII specified in PiiEntityTypes is
flagged upon complete transcription of an audio segment.
You can’t set ContentIdentificationType and ContentRedactionType in the same
request. If you set both, your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
ContentTypepublic final ContentType contentRedactionType()
Redacts all personally identifiable information (PII) identified in your transcript.
Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your
request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
contentRedactionType will return ContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from contentRedactionTypeAsString().
Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both,
your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
ContentTypepublic final String contentRedactionTypeAsString()
Redacts all personally identifiable information (PII) identified in your transcript.
Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both, your
request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
contentRedactionType will return ContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from contentRedactionTypeAsString().
Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted upon complete transcription of an audio segment.
You can’t set ContentRedactionType and ContentIdentificationType in the same request. If you set both,
your request returns a BadRequestException.
For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
ContentTypepublic final String piiEntityTypes()
The types of personally identifiable information (PII) to redact from a transcript. You can include as many types
as you'd like, or you can select ALL.
To include PiiEntityTypes in your Call Analytics request, you must also include
ContentIdentificationType or ContentRedactionType, but you can't include both.
Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN,
SSN, or ALL.
If you leave this parameter empty, the default behavior is equivalent to ALL.
ALL.
To include PiiEntityTypes in your Call Analytics request, you must also include
ContentIdentificationType or ContentRedactionType, but you can't include both.
Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE,
PIN, SSN, or ALL.
If you leave this parameter empty, the default behavior is equivalent to ALL.
public final String languageModelName()
The name of the custom language model that you want to use when processing your transcription. Note that language model names are case sensitive.
The language of the specified language model must match the language code you specify in your transcription request. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
For more information, see Custom language models in the Amazon Transcribe Developer Guide.
The language of the specified language model must match the language code you specify in your transcription request. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
For more information, see Custom language models in the Amazon Transcribe Developer Guide.
public final Boolean filterPartialResults()
If true, TranscriptEvents with IsPartial: true are filtered out of the insights target.
TranscriptEvents with IsPartial: true are filtered out of the insights
target.public final Boolean identifyLanguage()
Turns language identification on or off.
public final String languageOptions()
The language options for the transcription, such as automatic language detection.
public final CallAnalyticsLanguageCode preferredLanguage()
The preferred language for the transcription.
If the service returns an enum value that is not available in the current SDK version, preferredLanguage
will return CallAnalyticsLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from preferredLanguageAsString().
CallAnalyticsLanguageCodepublic final String preferredLanguageAsString()
The preferred language for the transcription.
If the service returns an enum value that is not available in the current SDK version, preferredLanguage
will return CallAnalyticsLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from preferredLanguageAsString().
CallAnalyticsLanguageCodepublic final String vocabularyNames()
The names of the custom vocabulary or vocabularies used during transcription.
public final String vocabularyFilterNames()
The names of the custom vocabulary filter or filters using during transcription.
public AmazonTranscribeProcessorConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AmazonTranscribeProcessorConfiguration.Builder,AmazonTranscribeProcessorConfiguration>public static AmazonTranscribeProcessorConfiguration.Builder builder()
public static Class<? extends AmazonTranscribeProcessorConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.