Class CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty>
- Enclosing interface:
CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty
@Stability(Stable)
public static final class CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataAutomationProjectPropsMixin.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 CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.Builder generativeOutputLanguage(String generativeOutputLanguage) Sets the value ofCfnDataAutomationProjectPropsMixin.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 CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.Builder identifyMultipleLanguages(Boolean identifyMultipleLanguages) Sets the value ofCfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.getIdentifyMultipleLanguages()- Parameters:
identifyMultipleLanguages- The toggle determining if you want to detect multiple languages from your audio.- Returns:
this
-
identifyMultipleLanguages
@Stability(Stable) public CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.Builder identifyMultipleLanguages(IResolvable identifyMultipleLanguages) Sets the value ofCfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.getIdentifyMultipleLanguages()- Parameters:
identifyMultipleLanguages- The toggle determining if you want to detect multiple languages from your audio.- Returns:
this
-
inputLanguages
@Stability(Stable) public CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.Builder inputLanguages(List<String> inputLanguages) Sets the value ofCfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty.getInputLanguages()- 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
@Stability(Stable) public CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty>- Returns:
- a new instance of
CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-