Class AmazonTranscribeProcessorConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmediapipelines.model.AmazonTranscribeProcessorConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AmazonTranscribeProcessorConfiguration.Builder,AmazonTranscribeProcessorConfiguration>
@Generated("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.
Calls to this API must include a
LanguageCode,IdentifyLanguage, orIdentifyMultipleLanguagesparameter. If you include more than one of those parameters, your transcription job fails.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAmazonTranscribeProcessorConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AmazonTranscribeProcessorConfiguration.Builderbuilder()ContentTypecontentIdentificationType()Labels all personally identifiable information (PII) identified in your transcript.StringcontentIdentificationTypeAsString()Labels all personally identifiable information (PII) identified in your transcript.ContentTypecontentRedactionType()Redacts all personally identifiable information (PII) identified in your transcript.StringcontentRedactionTypeAsString()Redacts all personally identifiable information (PII) identified in your transcript.BooleanenablePartialResultsStabilization()Enables partial result stabilization for your transcription.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanfilterPartialResults()If true,TranscriptEventswithIsPartial: trueare filtered out of the insights target.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanidentifyLanguage()Turns language identification on or off.BooleanidentifyMultipleLanguages()Turns language identification on or off for multiple languages.CallAnalyticsLanguageCodelanguageCode()The language code that represents the language spoken in your audio.StringlanguageCodeAsString()The language code that represents the language spoken in your audio.StringlanguageModelName()The name of the custom language model that you want to use when processing your transcription.StringlanguageOptions()The language options for the transcription, such as automatic language detection.PartialResultsStabilitypartialResultsStability()The level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).StringpartialResultsStabilityAsString()The level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).StringpiiEntityTypes()The types of personally identifiable information (PII) to redact from a transcript.CallAnalyticsLanguageCodepreferredLanguage()The preferred language for the transcription.StringpreferredLanguageAsString()The preferred language for the transcription.List<SdkField<?>>sdkFields()static Class<? extends AmazonTranscribeProcessorConfiguration.Builder>serializableBuilderClass()BooleanshowSpeakerLabel()Enables speaker partitioning (diarization) in your transcription output.AmazonTranscribeProcessorConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.VocabularyFilterMethodvocabularyFilterMethod()The vocabulary filtering method used in your Call Analytics transcription.StringvocabularyFilterMethodAsString()The vocabulary filtering method used in your Call Analytics transcription.StringvocabularyFilterName()The name of the custom vocabulary filter that you specified in your Call Analytics request.StringvocabularyFilterNames()The names of the custom vocabulary filter or filters using during transcription.StringvocabularyName()The name of the custom vocabulary that you specified in your Call Analytics request.StringvocabularyNames()The names of the custom vocabulary or vocabularies used during transcription.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
languageCode
public 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
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:
CallAnalyticsLanguageCode
-
languageCodeAsString
public 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
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:
CallAnalyticsLanguageCode
-
vocabularyName
public 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.
- 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
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.
- 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
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,
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:
VocabularyFilterMethod
-
vocabularyFilterMethodAsString
public 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,
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:
VocabularyFilterMethod
-
showSpeakerLabel
public 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.
- 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
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.
- 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
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,
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:
PartialResultsStability
-
partialResultsStabilityAsString
public 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,
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:
PartialResultsStability
-
contentIdentificationType
public final ContentType 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:
ContentType
-
contentIdentificationTypeAsString
public final String 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:
ContentType
-
contentRedactionType
public 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,
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:
ContentType
-
contentRedactionTypeAsString
public 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,
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:
ContentType
-
piiEntityTypes
public 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
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
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.
- 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
public final Boolean filterPartialResults()
If true,
TranscriptEventswithIsPartial: trueare filtered out of the insights target.- Returns:
- If true,
TranscriptEventswithIsPartial: trueare filtered out of the insights target.
-
identifyLanguage
public final Boolean identifyLanguage()
Turns language identification on or off.
- Returns:
- Turns language identification on or off.
-
identifyMultipleLanguages
public final Boolean identifyMultipleLanguages()
Turns language identification on or off for multiple languages.
- Returns:
- Turns language identification on or off for multiple languages.
-
languageOptions
public final String 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
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,
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:
CallAnalyticsLanguageCode
-
preferredLanguageAsString
public 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,
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:
CallAnalyticsLanguageCode
-
vocabularyNames
public final String 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
public final String 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
public AmazonTranscribeProcessorConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AmazonTranscribeProcessorConfiguration.Builder,AmazonTranscribeProcessorConfiguration>
-
builder
public static AmazonTranscribeProcessorConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends AmazonTranscribeProcessorConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-