Interface CfnDataAutomationProject.AudioLanguageConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataAutomationProject.AudioLanguageConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataAutomationProject
@Stability(Stable)
public static interface CfnDataAutomationProject.AudioLanguageConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
This allows you to set the input and output language of your audio.
The input language can be set to any of the languages supported by Bedrock Data Automation. The output can either be set to english or whatever the dominant language is of the audio, determined by the language spoken for the most seconds.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
AudioLanguageConfigurationProperty audioLanguageConfigurationProperty = AudioLanguageConfigurationProperty.builder()
.generativeOutputLanguage("generativeOutputLanguage")
.identifyMultipleLanguages(false)
.inputLanguages(List.of("inputLanguages"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataAutomationProject.AudioLanguageConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGenerativeOutputLanguage
The output language of your processing results.This can either be set to
EN(English) orDEFAULTwhich will output the results in the dominant language of the audio. The dominant language is determined as the language in the audio, spoken the longest in the input audio.- See Also:
-
getIdentifyMultipleLanguages
The toggle determining if you want to detect multiple languages from your audio.Returns union: either
BooleanorIResolvable- See Also:
-
getInputLanguages
The input language of your audio.This can be set to any of the currently supported languages via the language codes.
- See Also:
-
builder
@Stability(Stable) static CfnDataAutomationProject.AudioLanguageConfigurationProperty.Builder builder()
-