Class CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.chime.CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty>
- Enclosing interface:
CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty
@Stability(Stable)
public static final class CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contentIdentificationType(String contentIdentificationType) contentRedactionType(String contentRedactionType) enablePartialResultsStabilization(Boolean enablePartialResultsStabilization) enablePartialResultsStabilization(IResolvable enablePartialResultsStabilization) filterPartialResults(Boolean filterPartialResults) filterPartialResults(IResolvable filterPartialResults) identifyLanguage(Boolean identifyLanguage) identifyLanguage(IResolvable identifyLanguage) identifyMultipleLanguages(Boolean identifyMultipleLanguages) identifyMultipleLanguages(IResolvable identifyMultipleLanguages) languageCode(String languageCode) languageModelName(String languageModelName) languageOptions(String languageOptions) partialResultsStability(String partialResultsStability) piiEntityTypes(String piiEntityTypes) preferredLanguage(String preferredLanguage) showSpeakerLabel(Boolean showSpeakerLabel) showSpeakerLabel(IResolvable showSpeakerLabel) vocabularyFilterMethod(String vocabularyFilterMethod) vocabularyFilterName(String vocabularyFilterName) vocabularyFilterNames(String vocabularyFilterNames) vocabularyName(String vocabularyName) vocabularyNames(String vocabularyNames)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentIdentificationType
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder contentIdentificationType(String contentIdentificationType) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getContentIdentificationType()- Parameters:
contentIdentificationType- Labels all PII identified in the transcript.- Returns:
this
-
contentRedactionType
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder contentRedactionType(String contentRedactionType) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getContentRedactionType()- Parameters:
contentRedactionType- Redacts all PII identified in the transcript.- Returns:
this
-
enablePartialResultsStabilization
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder enablePartialResultsStabilization(Boolean enablePartialResultsStabilization) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getEnablePartialResultsStabilization()- Parameters:
enablePartialResultsStabilization- Enables partial result stabilization.- Returns:
this
-
enablePartialResultsStabilization
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder enablePartialResultsStabilization(IResolvable enablePartialResultsStabilization) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getEnablePartialResultsStabilization()- Parameters:
enablePartialResultsStabilization- Enables partial result stabilization.- Returns:
this
-
filterPartialResults
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder filterPartialResults(Boolean filterPartialResults) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getFilterPartialResults()- Parameters:
filterPartialResults- If true, partial results are filtered out.- Returns:
this
-
filterPartialResults
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder filterPartialResults(IResolvable filterPartialResults) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getFilterPartialResults()- Parameters:
filterPartialResults- If true, partial results are filtered out.- Returns:
this
-
identifyLanguage
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder identifyLanguage(Boolean identifyLanguage) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getIdentifyLanguage()- Parameters:
identifyLanguage- Turns language identification on or off.- Returns:
this
-
identifyLanguage
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder identifyLanguage(IResolvable identifyLanguage) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getIdentifyLanguage()- Parameters:
identifyLanguage- Turns language identification on or off.- Returns:
this
-
identifyMultipleLanguages
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder identifyMultipleLanguages(Boolean identifyMultipleLanguages) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getIdentifyMultipleLanguages()- Parameters:
identifyMultipleLanguages- Turns multiple language identification on or off.- Returns:
this
-
identifyMultipleLanguages
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder identifyMultipleLanguages(IResolvable identifyMultipleLanguages) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getIdentifyMultipleLanguages()- Parameters:
identifyMultipleLanguages- Turns multiple language identification on or off.- Returns:
this
-
languageCode
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder languageCode(String languageCode) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getLanguageCode()- Parameters:
languageCode- The language code.- Returns:
this
-
languageModelName
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder languageModelName(String languageModelName) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getLanguageModelName()- Parameters:
languageModelName- The name of the custom language model.- Returns:
this
-
languageOptions
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder languageOptions(String languageOptions) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getLanguageOptions()- Parameters:
languageOptions- The language options for transcription.- Returns:
this
-
partialResultsStability
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder partialResultsStability(String partialResultsStability) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getPartialResultsStability()- Parameters:
partialResultsStability- The level of stability for partial results.- Returns:
this
-
piiEntityTypes
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder piiEntityTypes(String piiEntityTypes) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getPiiEntityTypes()- Parameters:
piiEntityTypes- The types of PII to redact.- Returns:
this
-
preferredLanguage
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder preferredLanguage(String preferredLanguage) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getPreferredLanguage()- Parameters:
preferredLanguage- The preferred language for transcription.- Returns:
this
-
showSpeakerLabel
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder showSpeakerLabel(Boolean showSpeakerLabel) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getShowSpeakerLabel()- Parameters:
showSpeakerLabel- Enables speaker partitioning.- Returns:
this
-
showSpeakerLabel
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder showSpeakerLabel(IResolvable showSpeakerLabel) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getShowSpeakerLabel()- Parameters:
showSpeakerLabel- Enables speaker partitioning.- Returns:
this
-
vocabularyFilterMethod
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder vocabularyFilterMethod(String vocabularyFilterMethod) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getVocabularyFilterMethod()- Parameters:
vocabularyFilterMethod- The vocabulary filtering method.- Returns:
this
-
vocabularyFilterName
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder vocabularyFilterName(String vocabularyFilterName) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getVocabularyFilterName()- Parameters:
vocabularyFilterName- The name of the custom vocabulary filter.- Returns:
this
-
vocabularyFilterNames
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder vocabularyFilterNames(String vocabularyFilterNames) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getVocabularyFilterNames()- Parameters:
vocabularyFilterNames- The names of the custom vocabulary filters.- Returns:
this
-
vocabularyName
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder vocabularyName(String vocabularyName) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getVocabularyName()- Parameters:
vocabularyName- The name of the custom vocabulary.- Returns:
this
-
vocabularyNames
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.Builder vocabularyNames(String vocabularyNames) Sets the value ofCfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty.getVocabularyNames()- Parameters:
vocabularyNames- The names of the custom vocabularies.- Returns:
this
-
build
@Stability(Stable) public CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty>- Returns:
- a new instance of
CfnMediaInsightsPipelineConfiguration.AmazonTranscribeProcessorConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-