Class CfnDataAutomationProject.AudioLanguageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataAutomationProject.AudioLanguageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataAutomationProject.AudioLanguageConfigurationProperty>
- Enclosing interface:
CfnDataAutomationProject.AudioLanguageConfigurationProperty
@Stability(Stable)
public static final class CfnDataAutomationProject.AudioLanguageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataAutomationProject.AudioLanguageConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.generativeOutputLanguage(String generativeOutputLanguage) identifyMultipleLanguages(Boolean identifyMultipleLanguages) identifyMultipleLanguages(IResolvable identifyMultipleLanguages) inputLanguages(List<String> inputLanguages)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
generativeOutputLanguage
@Stability(Stable) public CfnDataAutomationProject.AudioLanguageConfigurationProperty.Builder generativeOutputLanguage(String generativeOutputLanguage) Sets the value ofCfnDataAutomationProject.AudioLanguageConfigurationProperty.getGenerativeOutputLanguage()- Parameters:
generativeOutputLanguage- The output language of your processing results. This can either be set toEN(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.- Returns:
this
-
identifyMultipleLanguages
@Stability(Stable) public CfnDataAutomationProject.AudioLanguageConfigurationProperty.Builder identifyMultipleLanguages(Boolean identifyMultipleLanguages) Sets the value ofCfnDataAutomationProject.AudioLanguageConfigurationProperty.getIdentifyMultipleLanguages()- Parameters:
identifyMultipleLanguages- The toggle determining if you want to detect multiple languages from your audio.- Returns:
this
-
identifyMultipleLanguages
@Stability(Stable) public CfnDataAutomationProject.AudioLanguageConfigurationProperty.Builder identifyMultipleLanguages(IResolvable identifyMultipleLanguages) Sets the value ofCfnDataAutomationProject.AudioLanguageConfigurationProperty.getIdentifyMultipleLanguages()- Parameters:
identifyMultipleLanguages- The toggle determining if you want to detect multiple languages from your audio.- Returns:
this
-
inputLanguages
@Stability(Stable) public CfnDataAutomationProject.AudioLanguageConfigurationProperty.Builder inputLanguages(List<String> inputLanguages) - Parameters:
inputLanguages- The input language of your audio. This can be set to any of the currently supported languages via the language codes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataAutomationProject.AudioLanguageConfigurationProperty>- Returns:
- a new instance of
CfnDataAutomationProject.AudioLanguageConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-