Class AmazonTranscribeProcessorConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AmazonTranscribeProcessorConfiguration.Builder,AmazonTranscribeProcessorConfiguration>
A structure that contains the configuration settings for an Amazon Transcribe processor.
Calls to this API must include a LanguageCode, IdentifyLanguage, or
IdentifyMultipleLanguages parameter. If you include more than one of those parameters, your
transcription job fails.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final ContentTypeLabels all personally identifiable information (PII) identified in your transcript.final StringLabels all personally identifiable information (PII) identified in your transcript.final ContentTypeRedacts all personally identifiable information (PII) identified in your transcript.final StringRedacts all personally identifiable information (PII) identified in your transcript.final BooleanEnables partial result stabilization for your transcription.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final BooleanIf true,TranscriptEventswithIsPartial: trueare filtered out of the insights target.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanTurns language identification on or off.final BooleanTurns language identification on or off for multiple languages.The language code that represents the language spoken in your audio.final StringThe language code that represents the language spoken in your audio.final StringThe name of the custom language model that you want to use when processing your transcription.final StringThe language options for the transcription, such as automatic language detection.final PartialResultsStabilityThe level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).final StringThe level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).final StringThe types of personally identifiable information (PII) to redact from a transcript.The preferred language for the transcription.final StringThe preferred language for the transcription.static Class<? extends AmazonTranscribeProcessorConfiguration.Builder> final BooleanEnables speaker partitioning (diarization) in your transcription output.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final VocabularyFilterMethodThe vocabulary filtering method used in your Call Analytics transcription.final StringThe vocabulary filtering method used in your Call Analytics transcription.final StringThe name of the custom vocabulary filter that you specified in your Call Analytics request.final StringThe names of the custom vocabulary filter or filters using during transcription.final StringThe name of the custom vocabulary that you specified in your Call Analytics request.final StringThe names of the custom vocabulary or vocabularies used during transcription.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
IdentifyLanguageto 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,
languageCodewill returnCallAnalyticsLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- The language code that represents the language spoken in your audio.
If you're unsure of the language spoken in your audio, consider using
IdentifyLanguageto 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.
- See Also:
-
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
IdentifyLanguageto 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,
languageCodewill returnCallAnalyticsLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- The language code that represents the language spoken in your audio.
If you're unsure of the language spoken in your audio, consider using
IdentifyLanguageto 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.
- See Also:
-
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.
- Returns:
- The name of the custom vocabulary that you specified in your Call Analytics request.
Length Constraints: Minimum length of 1. Maximum length of 200.
-
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.
- Returns:
- 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.
-
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,
vocabularyFilterMethodwill returnVocabularyFilterMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvocabularyFilterMethodAsString().- Returns:
- The vocabulary filtering method used in your Call Analytics transcription.
- See Also:
-
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,
vocabularyFilterMethodwill returnVocabularyFilterMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvocabularyFilterMethodAsString().- Returns:
- The vocabulary filtering method used in your Call Analytics transcription.
- See Also:
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
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,
partialResultsStabilitywill returnPartialResultsStability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompartialResultsStabilityAsString().- Returns:
- 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.
- See Also:
-
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,
partialResultsStabilitywill returnPartialResultsStability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompartialResultsStabilityAsString().- Returns:
- 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.
- See Also:
-
contentIdentificationType
Labels all personally identifiable information (PII) identified in your transcript.
Content identification is performed at the segment level; PII specified in
PiiEntityTypesis flagged upon complete transcription of an audio segment.You can’t set
ContentIdentificationTypeandContentRedactionTypein the same request. If you set both, your request returns aBadRequestException.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,
contentIdentificationTypewill returnContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentIdentificationTypeAsString().- Returns:
- Labels all personally identifiable information (PII) identified in your transcript.
Content identification is performed at the segment level; PII specified in
PiiEntityTypesis flagged upon complete transcription of an audio segment.You can’t set
ContentIdentificationTypeandContentRedactionTypein the same request. If you set both, your request returns aBadRequestException.For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
- See Also:
-
contentIdentificationTypeAsString
Labels all personally identifiable information (PII) identified in your transcript.
Content identification is performed at the segment level; PII specified in
PiiEntityTypesis flagged upon complete transcription of an audio segment.You can’t set
ContentIdentificationTypeandContentRedactionTypein the same request. If you set both, your request returns aBadRequestException.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,
contentIdentificationTypewill returnContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentIdentificationTypeAsString().- Returns:
- Labels all personally identifiable information (PII) identified in your transcript.
Content identification is performed at the segment level; PII specified in
PiiEntityTypesis flagged upon complete transcription of an audio segment.You can’t set
ContentIdentificationTypeandContentRedactionTypein the same request. If you set both, your request returns aBadRequestException.For more information, see Redacting or identifying personally identifiable information in the Amazon Transcribe Developer Guide.
- See Also:
-
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,
contentRedactionTypewill returnContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentRedactionTypeAsString().- Returns:
- 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.
- See Also:
-
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,
contentRedactionTypewill returnContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentRedactionTypeAsString().- Returns:
- 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.
- See Also:
-
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
PiiEntityTypesin your Call Analytics request, you must also includeContentIdentificationTypeorContentRedactionType, 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, orALL.If you leave this parameter empty, the default behavior is equivalent to
ALL.- Returns:
- 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
PiiEntityTypesin your Call Analytics request, you must also includeContentIdentificationTypeorContentRedactionType, 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, orALL.If you leave this parameter empty, the default behavior is equivalent to
ALL.
-
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.
- Returns:
- 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.
-
filterPartialResults
If true,
TranscriptEventswithIsPartial: trueare filtered out of the insights target.- Returns:
- If true,
TranscriptEventswithIsPartial: trueare filtered out of the insights target.
-
identifyLanguage
Turns language identification on or off.
- Returns:
- Turns language identification on or off.
-
identifyMultipleLanguages
Turns language identification on or off for multiple languages.
Calls to this API must include a
LanguageCode,IdentifyLanguage, orIdentifyMultipleLanguagesparameter. If you include more than one of those parameters, your transcription job fails.- Returns:
- Turns language identification on or off for multiple languages.
Calls to this API must include a
LanguageCode,IdentifyLanguage, orIdentifyMultipleLanguagesparameter. If you include more than one of those parameters, your transcription job fails.
-
languageOptions
The language options for the transcription, such as automatic language detection.
- Returns:
- The language options for the transcription, such as automatic language detection.
-
preferredLanguage
The preferred language for the transcription.
If the service returns an enum value that is not available in the current SDK version,
preferredLanguagewill returnCallAnalyticsLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreferredLanguageAsString().- Returns:
- The preferred language for the transcription.
- See Also:
-
preferredLanguageAsString
The preferred language for the transcription.
If the service returns an enum value that is not available in the current SDK version,
preferredLanguagewill returnCallAnalyticsLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreferredLanguageAsString().- Returns:
- The preferred language for the transcription.
- See Also:
-
vocabularyNames
The names of the custom vocabulary or vocabularies used during transcription.
- Returns:
- The names of the custom vocabulary or vocabularies used during transcription.
-
vocabularyFilterNames
The names of the custom vocabulary filter or filters using during transcription.
- Returns:
- The names of the custom vocabulary filter or filters using during transcription.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AmazonTranscribeProcessorConfiguration.Builder,AmazonTranscribeProcessorConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends AmazonTranscribeProcessorConfiguration.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-