Class EngineTranscribeSettings
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmeetings.model.EngineTranscribeSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EngineTranscribeSettings.Builder,EngineTranscribeSettings>
@Generated("software.amazon.awssdk:codegen") public final class EngineTranscribeSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EngineTranscribeSettings.Builder,EngineTranscribeSettings>
Settings specific for Amazon Transcribe as the live transcription engine.
If you specify an invalid combination of parameters, a
TranscriptFailedevent will be sent with the contents of theBadRequestExceptiongenerated by Amazon Transcribe. For more information on each parameter and which combinations are valid, refer to the StartStreamTranscription API in the Amazon Transcribe Developer Guide.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEngineTranscribeSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EngineTranscribeSettings.Builderbuilder()TranscribeContentIdentificationTypecontentIdentificationType()Labels all personally identifiable information (PII) identified in your transcript.StringcontentIdentificationTypeAsString()Labels all personally identifiable information (PII) identified in your transcript.TranscribeContentRedactionTypecontentRedactionType()Content redaction is performed at the segment level.StringcontentRedactionTypeAsString()Content redaction is performed at the segment level.BooleanenablePartialResultsStabilization()Enables partial result stabilization for your transcription.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanidentifyLanguage()Enables automatic language identification for your transcription.TranscribeLanguageCodelanguageCode()Specify the language code that represents the language spoken.StringlanguageCodeAsString()Specify the language code that represents the language spoken.StringlanguageModelName()Specify the name of the custom language model that you want to use when processing your transcription.StringlanguageOptions()Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended.TranscribePartialResultsStabilitypartialResultsStability()Specify the level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).StringpartialResultsStabilityAsString()Specify the level of stability to use when you enable partial results stabilization (EnablePartialResultsStabilization).StringpiiEntityTypes()Specify which types of personally identifiable information (PII) you want to redact in your transcript.TranscribeLanguageCodepreferredLanguage()Specify a preferred language from the subset of languages codes you specified inLanguageOptions.StringpreferredLanguageAsString()Specify a preferred language from the subset of languages codes you specified inLanguageOptions.TranscribeRegionregion()The Amazon Web Services Region in which to use Amazon Transcribe.StringregionAsString()The Amazon Web Services Region in which to use Amazon Transcribe.List<SdkField<?>>sdkFields()static Class<? extends EngineTranscribeSettings.Builder>serializableBuilderClass()EngineTranscribeSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.TranscribeVocabularyFilterMethodvocabularyFilterMethod()Specify how you want your vocabulary filter applied to your transcript.StringvocabularyFilterMethodAsString()Specify how you want your vocabulary filter applied to your transcript.StringvocabularyFilterName()Specify the name of the custom vocabulary filter that you want to use when processing your transcription.StringvocabularyFilterNames()Specify the names of the custom vocabulary filters that you want to use when processing your transcription.StringvocabularyName()Specify the name of the custom vocabulary that you want to use when processing your transcription.StringvocabularyNames()Specify the names of the custom vocabularies that you want to use when processing your 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 TranscribeLanguageCode languageCode()
Specify the language code that represents the language spoken.
If you're unsure of the language spoken in your audio, consider using
IdentifyLanguageto enable automatic language identification.If the service returns an enum value that is not available in the current SDK version,
languageCodewill returnTranscribeLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- Specify the language code that represents the language spoken.
If you're unsure of the language spoken in your audio, consider using
IdentifyLanguageto enable automatic language identification. - See Also:
TranscribeLanguageCode
-
languageCodeAsString
public final String languageCodeAsString()
Specify the language code that represents the language spoken.
If you're unsure of the language spoken in your audio, consider using
IdentifyLanguageto enable automatic language identification.If the service returns an enum value that is not available in the current SDK version,
languageCodewill returnTranscribeLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- Specify the language code that represents the language spoken.
If you're unsure of the language spoken in your audio, consider using
IdentifyLanguageto enable automatic language identification. - See Also:
TranscribeLanguageCode
-
vocabularyFilterMethod
public final TranscribeVocabularyFilterMethod vocabularyFilterMethod()
Specify how you want your vocabulary filter applied to your transcript.
To replace words with
***, choosemask.To delete words, choose
remove.To flag words without changing them, choose
tag.If the service returns an enum value that is not available in the current SDK version,
vocabularyFilterMethodwill returnTranscribeVocabularyFilterMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvocabularyFilterMethodAsString().- Returns:
- Specify how you want your vocabulary filter applied to your transcript.
To replace words with
***, choosemask.To delete words, choose
remove.To flag words without changing them, choose
tag. - See Also:
TranscribeVocabularyFilterMethod
-
vocabularyFilterMethodAsString
public final String vocabularyFilterMethodAsString()
Specify how you want your vocabulary filter applied to your transcript.
To replace words with
***, choosemask.To delete words, choose
remove.To flag words without changing them, choose
tag.If the service returns an enum value that is not available in the current SDK version,
vocabularyFilterMethodwill returnTranscribeVocabularyFilterMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvocabularyFilterMethodAsString().- Returns:
- Specify how you want your vocabulary filter applied to your transcript.
To replace words with
***, choosemask.To delete words, choose
remove.To flag words without changing them, choose
tag. - See Also:
TranscribeVocabularyFilterMethod
-
vocabularyFilterName
public final String vocabularyFilterName()
Specify the name of the custom vocabulary filter that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.
If you use Amazon Transcribe in multiple Regions, the vocabulary filter must be available in Amazon Transcribe in each Region.
If you include
IdentifyLanguageand want to use one or more vocabulary filters with your transcription, use theVocabularyFilterNamesparameter instead.- Returns:
- Specify the name of the custom vocabulary filter that you want to use when processing your transcription.
Note that vocabulary filter names are case sensitive.
If you use Amazon Transcribe in multiple Regions, the vocabulary filter must be available in Amazon Transcribe in each Region.
If you include
IdentifyLanguageand want to use one or more vocabulary filters with your transcription, use theVocabularyFilterNamesparameter instead.
-
vocabularyName
public final String vocabularyName()
Specify the name of the custom vocabulary that you want to use when processing your transcription. Note that vocabulary names are case sensitive.
If you use Amazon Transcribe multiple Regions, the vocabulary must be available in Amazon Transcribe in each Region.
If you include
IdentifyLanguageand want to use one or more custom vocabularies with your transcription, use theVocabularyNamesparameter instead.- Returns:
- Specify the name of the custom vocabulary that you want to use when processing your transcription. Note
that vocabulary names are case sensitive.
If you use Amazon Transcribe multiple Regions, the vocabulary must be available in Amazon Transcribe in each Region.
If you include
IdentifyLanguageand want to use one or more custom vocabularies with your transcription, use theVocabularyNamesparameter instead.
-
region
public final TranscribeRegion region()
The Amazon Web Services Region in which to use Amazon Transcribe.
If you don't specify a Region, then the MediaRegion of the meeting is used. However, if Amazon Transcribe is not available in the
MediaRegion, then aTranscriptFailedevent is sent.Use
autoto use Amazon Transcribe in a Region near the meeting’sMediaRegion. For more information, refer to Choosing a transcription Region in the Amazon Chime SDK Developer Guide.If the service returns an enum value that is not available in the current SDK version,
regionwill returnTranscribeRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregionAsString().- Returns:
- The Amazon Web Services Region in which to use Amazon Transcribe.
If you don't specify a Region, then the MediaRegion of the meeting is used. However, if Amazon Transcribe is not available in the
MediaRegion, then aTranscriptFailedevent is sent.Use
autoto use Amazon Transcribe in a Region near the meeting’sMediaRegion. For more information, refer to Choosing a transcription Region in the Amazon Chime SDK Developer Guide. - See Also:
TranscribeRegion
-
regionAsString
public final String regionAsString()
The Amazon Web Services Region in which to use Amazon Transcribe.
If you don't specify a Region, then the MediaRegion of the meeting is used. However, if Amazon Transcribe is not available in the
MediaRegion, then aTranscriptFailedevent is sent.Use
autoto use Amazon Transcribe in a Region near the meeting’sMediaRegion. For more information, refer to Choosing a transcription Region in the Amazon Chime SDK Developer Guide.If the service returns an enum value that is not available in the current SDK version,
regionwill returnTranscribeRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregionAsString().- Returns:
- The Amazon Web Services Region in which to use Amazon Transcribe.
If you don't specify a Region, then the MediaRegion of the meeting is used. However, if Amazon Transcribe is not available in the
MediaRegion, then aTranscriptFailedevent is sent.Use
autoto use Amazon Transcribe in a Region near the meeting’sMediaRegion. For more information, refer to Choosing a transcription Region in the Amazon Chime SDK Developer Guide. - See Also:
TranscribeRegion
-
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.
- Returns:
- Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in your output, but may impact accuracy.
-
partialResultsStability
public final TranscribePartialResultsStability partialResultsStability()
Specify 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.
If the service returns an enum value that is not available in the current SDK version,
partialResultsStabilitywill returnTranscribePartialResultsStability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompartialResultsStabilityAsString().- Returns:
- Specify 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.
- See Also:
TranscribePartialResultsStability
-
partialResultsStabilityAsString
public final String partialResultsStabilityAsString()
Specify 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.
If the service returns an enum value that is not available in the current SDK version,
partialResultsStabilitywill returnTranscribePartialResultsStability.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompartialResultsStabilityAsString().- Returns:
- Specify 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.
- See Also:
TranscribePartialResultsStability
-
contentIdentificationType
public final TranscribeContentIdentificationType contentIdentificationType()
Labels all personally identifiable information (PII) identified in your transcript. If you don't include
PiiEntityTypes, all PII is identified.You can’t set
ContentIdentificationTypeandContentRedactionType.If the service returns an enum value that is not available in the current SDK version,
contentIdentificationTypewill returnTranscribeContentIdentificationType.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. If you don't include
PiiEntityTypes, all PII is identified.You can’t set
ContentIdentificationTypeandContentRedactionType. - See Also:
TranscribeContentIdentificationType
-
contentIdentificationTypeAsString
public final String contentIdentificationTypeAsString()
Labels all personally identifiable information (PII) identified in your transcript. If you don't include
PiiEntityTypes, all PII is identified.You can’t set
ContentIdentificationTypeandContentRedactionType.If the service returns an enum value that is not available in the current SDK version,
contentIdentificationTypewill returnTranscribeContentIdentificationType.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. If you don't include
PiiEntityTypes, all PII is identified.You can’t set
ContentIdentificationTypeandContentRedactionType. - See Also:
TranscribeContentIdentificationType
-
contentRedactionType
public final TranscribeContentRedactionType contentRedactionType()
Content redaction is performed at the segment level. If you don't include
PiiEntityTypes, all PII is redacted.You can’t set
ContentRedactionTypeandContentIdentificationType.If the service returns an enum value that is not available in the current SDK version,
contentRedactionTypewill returnTranscribeContentRedactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentRedactionTypeAsString().- Returns:
- Content redaction is performed at the segment level. If you don't include
PiiEntityTypes, all PII is redacted.You can’t set
ContentRedactionTypeandContentIdentificationType. - See Also:
TranscribeContentRedactionType
-
contentRedactionTypeAsString
public final String contentRedactionTypeAsString()
Content redaction is performed at the segment level. If you don't include
PiiEntityTypes, all PII is redacted.You can’t set
ContentRedactionTypeandContentIdentificationType.If the service returns an enum value that is not available in the current SDK version,
contentRedactionTypewill returnTranscribeContentRedactionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentRedactionTypeAsString().- Returns:
- Content redaction is performed at the segment level. If you don't include
PiiEntityTypes, all PII is redacted.You can’t set
ContentRedactionTypeandContentIdentificationType. - See Also:
TranscribeContentRedactionType
-
piiEntityTypes
public final String piiEntityTypes()
Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select
ALL.Values must be comma-separated and can include:
ADDRESS,BANK_ACCOUNT_NUMBER,BANK_ROUTING,CREDIT_DEBIT_CVV,CREDIT_DEBIT_EXPIRYCREDIT_DEBIT_NUMBER,EMAIL,NAME,PHONE,PIN,SSN, orALL.Note that if you include
PiiEntityTypes, you must also includeContentIdentificationTypeorContentRedactionType.If you include
ContentRedactionTypeorContentIdentificationType, but do not include PiiEntityTypes, all PII is redacted or identified.- Returns:
- Specify which types of personally identifiable information (PII) you want to redact in your transcript.
You can include as many types as you'd like, or you can select
ALL.Values must be comma-separated and can include:
ADDRESS,BANK_ACCOUNT_NUMBER,BANK_ROUTING,CREDIT_DEBIT_CVV,CREDIT_DEBIT_EXPIRYCREDIT_DEBIT_NUMBER,EMAIL,NAME,PHONE,PIN,SSN, orALL.Note that if you include
PiiEntityTypes, you must also includeContentIdentificationTypeorContentRedactionType.If you include
ContentRedactionTypeorContentIdentificationType, but do not include PiiEntityTypes, all PII is redacted or identified.
-
languageModelName
public final String languageModelName()
Specify 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. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
If you use Amazon Transcribe in multiple Regions, the custom language model must be available in Amazon Transcribe in each Region.
- Returns:
- Specify 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. If the languages don't match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
If you use Amazon Transcribe in multiple Regions, the custom language model must be available in Amazon Transcribe in each Region.
-
identifyLanguage
public final Boolean identifyLanguage()
Enables automatic language identification for your transcription.
If you include
IdentifyLanguage, you can optionally useLanguageOptionsto include a list of language codes that you think may be present in your audio stream. Including language options can improve transcription accuracy.You can also use
PreferredLanguageto include a preferred language. Doing so can help Amazon Transcribe identify the language faster.You must include either
LanguageCodeorIdentifyLanguage.Language identification can't be combined with custom language models or redaction.
- Returns:
- Enables automatic language identification for your transcription.
If you include
IdentifyLanguage, you can optionally useLanguageOptionsto include a list of language codes that you think may be present in your audio stream. Including language options can improve transcription accuracy.You can also use
PreferredLanguageto include a preferred language. Doing so can help Amazon Transcribe identify the language faster.You must include either
LanguageCodeorIdentifyLanguage.Language identification can't be combined with custom language models or redaction.
-
languageOptions
public final String languageOptions()
Specify two or more language codes that represent the languages you think may be present in your media; including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.
Including language options can improve the accuracy of language identification.
If you include
LanguageOptions, you must also includeIdentifyLanguage.You can only include one language dialect per language. For example, you cannot include
en-USanden-AU.- Returns:
- Specify two or more language codes that represent the languages you think may be present in your media;
including more than five is not recommended. If you're unsure what languages are present, do not include
this parameter.
Including language options can improve the accuracy of language identification.
If you include
LanguageOptions, you must also includeIdentifyLanguage.You can only include one language dialect per language. For example, you cannot include
en-USanden-AU.
-
preferredLanguage
public final TranscribeLanguageCode preferredLanguage()
Specify a preferred language from the subset of languages codes you specified in
LanguageOptions.You can only use this parameter if you include
IdentifyLanguageandLanguageOptions.If the service returns an enum value that is not available in the current SDK version,
preferredLanguagewill returnTranscribeLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreferredLanguageAsString().- Returns:
- Specify a preferred language from the subset of languages codes you specified in
LanguageOptions.You can only use this parameter if you include
IdentifyLanguageandLanguageOptions. - See Also:
TranscribeLanguageCode
-
preferredLanguageAsString
public final String preferredLanguageAsString()
Specify a preferred language from the subset of languages codes you specified in
LanguageOptions.You can only use this parameter if you include
IdentifyLanguageandLanguageOptions.If the service returns an enum value that is not available in the current SDK version,
preferredLanguagewill returnTranscribeLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompreferredLanguageAsString().- Returns:
- Specify a preferred language from the subset of languages codes you specified in
LanguageOptions.You can only use this parameter if you include
IdentifyLanguageandLanguageOptions. - See Also:
TranscribeLanguageCode
-
vocabularyNames
public final String vocabularyNames()
Specify the names of the custom vocabularies that you want to use when processing your transcription. Note that vocabulary names are case sensitive.
If you use Amazon Transcribe in multiple Regions, the vocabulary must be available in Amazon Transcribe in each Region.
If you don't include
IdentifyLanguageand want to use a custom vocabulary with your transcription, use theVocabularyNameparameter instead.- Returns:
- Specify the names of the custom vocabularies that you want to use when processing your transcription.
Note that vocabulary names are case sensitive.
If you use Amazon Transcribe in multiple Regions, the vocabulary must be available in Amazon Transcribe in each Region.
If you don't include
IdentifyLanguageand want to use a custom vocabulary with your transcription, use theVocabularyNameparameter instead.
-
vocabularyFilterNames
public final String vocabularyFilterNames()
Specify the names of the custom vocabulary filters that you want to use when processing your transcription. Note that vocabulary filter names are case sensitive.
If you use Amazon Transcribe in multiple Regions, the vocabulary filter must be available in Amazon Transcribe in each Region.
If you're not including
IdentifyLanguageand want to use a custom vocabulary filter with your transcription, use theVocabularyFilterNameparameter instead.- Returns:
- Specify the names of the custom vocabulary filters that you want to use when processing your
transcription. Note that vocabulary filter names are case sensitive.
If you use Amazon Transcribe in multiple Regions, the vocabulary filter must be available in Amazon Transcribe in each Region.
If you're not including
IdentifyLanguageand want to use a custom vocabulary filter with your transcription, use theVocabularyFilterNameparameter instead.
-
toBuilder
public EngineTranscribeSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EngineTranscribeSettings.Builder,EngineTranscribeSettings>
-
builder
public static EngineTranscribeSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends EngineTranscribeSettings.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.
-
-