com.pulumi.aws.chimesdkmediapipelines.kotlin.inputs.MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.chimesdkmediapipelines.kotlin.inputs
import com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property contentIdentificationType Labels all personally identifiable information (PII) identified in Transcript events.
* @property contentRedactionType Redacts all personally identifiable information (PII) identified in Transcript events.
* @property enablePartialResultsStabilization Enables partial result stabilization in Transcript events.
* @property filterPartialResults Filters partial Utterance events from delivery to the insights target.
* @property languageCode Language code for the transcription model.
* @property languageModelName Name of custom language model for transcription.
* @property partialResultsStability Level of stability to use when partial results stabilization is enabled.
* @property piiEntityTypes Types of personally identifiable information (PII) to redact from a Transcript event.
* @property showSpeakerLabel Enables speaker partitioning (diarization) in your Transcript events.
* @property vocabularyFilterMethod Method for applying a vocabulary filter to Transcript events.
* @property vocabularyFilterName Name of the custom vocabulary filter to use when processing Transcript events.
* @property vocabularyName Name of the custom vocabulary to use when processing Transcript events.
*/
public data class
MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs(
public val contentIdentificationType: Output? = null,
public val contentRedactionType: Output? = null,
public val enablePartialResultsStabilization: Output? = null,
public val filterPartialResults: Output? = null,
public val languageCode: Output,
public val languageModelName: Output? = null,
public val partialResultsStability: Output? = null,
public val piiEntityTypes: Output? = null,
public val showSpeakerLabel: Output? = null,
public val vocabularyFilterMethod: Output? = null,
public val vocabularyFilterName: Output? = null,
public val vocabularyName: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs =
com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs.builder()
.contentIdentificationType(contentIdentificationType?.applyValue({ args0 -> args0 }))
.contentRedactionType(contentRedactionType?.applyValue({ args0 -> args0 }))
.enablePartialResultsStabilization(
enablePartialResultsStabilization?.applyValue({ args0 ->
args0
}),
)
.filterPartialResults(filterPartialResults?.applyValue({ args0 -> args0 }))
.languageCode(languageCode.applyValue({ args0 -> args0 }))
.languageModelName(languageModelName?.applyValue({ args0 -> args0 }))
.partialResultsStability(partialResultsStability?.applyValue({ args0 -> args0 }))
.piiEntityTypes(piiEntityTypes?.applyValue({ args0 -> args0 }))
.showSpeakerLabel(showSpeakerLabel?.applyValue({ args0 -> args0 }))
.vocabularyFilterMethod(vocabularyFilterMethod?.applyValue({ args0 -> args0 }))
.vocabularyFilterName(vocabularyFilterName?.applyValue({ args0 -> args0 }))
.vocabularyName(vocabularyName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs].
*/
@PulumiTagMarker
public class
MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgsBuilder
internal constructor() {
private var contentIdentificationType: Output? = null
private var contentRedactionType: Output? = null
private var enablePartialResultsStabilization: Output? = null
private var filterPartialResults: Output? = null
private var languageCode: Output? = null
private var languageModelName: Output? = null
private var partialResultsStability: Output? = null
private var piiEntityTypes: Output? = null
private var showSpeakerLabel: Output? = null
private var vocabularyFilterMethod: Output? = null
private var vocabularyFilterName: Output? = null
private var vocabularyName: Output? = null
/**
* @param value Labels all personally identifiable information (PII) identified in Transcript events.
*/
@JvmName("lkbapafkmsefmlsm")
public suspend fun contentIdentificationType(`value`: Output) {
this.contentIdentificationType = value
}
/**
* @param value Redacts all personally identifiable information (PII) identified in Transcript events.
*/
@JvmName("ynrvysvukrrvwwqh")
public suspend fun contentRedactionType(`value`: Output) {
this.contentRedactionType = value
}
/**
* @param value Enables partial result stabilization in Transcript events.
*/
@JvmName("iglbnvnbugxwdkdr")
public suspend fun enablePartialResultsStabilization(`value`: Output) {
this.enablePartialResultsStabilization = value
}
/**
* @param value Filters partial Utterance events from delivery to the insights target.
*/
@JvmName("brqsgtrmnhlwpayg")
public suspend fun filterPartialResults(`value`: Output) {
this.filterPartialResults = value
}
/**
* @param value Language code for the transcription model.
*/
@JvmName("dqawsfasolhpqcdf")
public suspend fun languageCode(`value`: Output) {
this.languageCode = value
}
/**
* @param value Name of custom language model for transcription.
*/
@JvmName("jetttcwbqtchhnoh")
public suspend fun languageModelName(`value`: Output) {
this.languageModelName = value
}
/**
* @param value Level of stability to use when partial results stabilization is enabled.
*/
@JvmName("hvmbmpucbqlufqux")
public suspend fun partialResultsStability(`value`: Output) {
this.partialResultsStability = value
}
/**
* @param value Types of personally identifiable information (PII) to redact from a Transcript event.
*/
@JvmName("pknusdqeyipgiyim")
public suspend fun piiEntityTypes(`value`: Output) {
this.piiEntityTypes = value
}
/**
* @param value Enables speaker partitioning (diarization) in your Transcript events.
*/
@JvmName("vsvkdookigsxsrir")
public suspend fun showSpeakerLabel(`value`: Output) {
this.showSpeakerLabel = value
}
/**
* @param value Method for applying a vocabulary filter to Transcript events.
*/
@JvmName("ifjjnpbupdxpslbb")
public suspend fun vocabularyFilterMethod(`value`: Output) {
this.vocabularyFilterMethod = value
}
/**
* @param value Name of the custom vocabulary filter to use when processing Transcript events.
*/
@JvmName("arfauvakvllkjvai")
public suspend fun vocabularyFilterName(`value`: Output) {
this.vocabularyFilterName = value
}
/**
* @param value Name of the custom vocabulary to use when processing Transcript events.
*/
@JvmName("xfvbcrfxvnwihmmo")
public suspend fun vocabularyName(`value`: Output) {
this.vocabularyName = value
}
/**
* @param value Labels all personally identifiable information (PII) identified in Transcript events.
*/
@JvmName("mhnvvwrtyloxhent")
public suspend fun contentIdentificationType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contentIdentificationType = mapped
}
/**
* @param value Redacts all personally identifiable information (PII) identified in Transcript events.
*/
@JvmName("rljlbmlcydleaxtf")
public suspend fun contentRedactionType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contentRedactionType = mapped
}
/**
* @param value Enables partial result stabilization in Transcript events.
*/
@JvmName("ttpudkrbewbtvwdm")
public suspend fun enablePartialResultsStabilization(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enablePartialResultsStabilization = mapped
}
/**
* @param value Filters partial Utterance events from delivery to the insights target.
*/
@JvmName("sssduwmejgbmbaxm")
public suspend fun filterPartialResults(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.filterPartialResults = mapped
}
/**
* @param value Language code for the transcription model.
*/
@JvmName("fkbrlqmnihltmlym")
public suspend fun languageCode(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.languageCode = mapped
}
/**
* @param value Name of custom language model for transcription.
*/
@JvmName("kerjspaqpixluaug")
public suspend fun languageModelName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.languageModelName = mapped
}
/**
* @param value Level of stability to use when partial results stabilization is enabled.
*/
@JvmName("rghftxwaihyvsetn")
public suspend fun partialResultsStability(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.partialResultsStability = mapped
}
/**
* @param value Types of personally identifiable information (PII) to redact from a Transcript event.
*/
@JvmName("obyipmqohnxpobpm")
public suspend fun piiEntityTypes(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.piiEntityTypes = mapped
}
/**
* @param value Enables speaker partitioning (diarization) in your Transcript events.
*/
@JvmName("mmnxuqsnmuylyuyy")
public suspend fun showSpeakerLabel(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.showSpeakerLabel = mapped
}
/**
* @param value Method for applying a vocabulary filter to Transcript events.
*/
@JvmName("mswicxkaofkxjpnr")
public suspend fun vocabularyFilterMethod(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vocabularyFilterMethod = mapped
}
/**
* @param value Name of the custom vocabulary filter to use when processing Transcript events.
*/
@JvmName("bjhfjecjcnmldtsk")
public suspend fun vocabularyFilterName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vocabularyFilterName = mapped
}
/**
* @param value Name of the custom vocabulary to use when processing Transcript events.
*/
@JvmName("bktkkhuowyyvgiyp")
public suspend fun vocabularyName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vocabularyName = mapped
}
internal fun build(): MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs =
MediaInsightsPipelineConfigurationElementAmazonTranscribeProcessorConfigurationArgs(
contentIdentificationType = contentIdentificationType,
contentRedactionType = contentRedactionType,
enablePartialResultsStabilization = enablePartialResultsStabilization,
filterPartialResults = filterPartialResults,
languageCode = languageCode ?: throw PulumiNullFieldException("languageCode"),
languageModelName = languageModelName,
partialResultsStability = partialResultsStability,
piiEntityTypes = piiEntityTypes,
showSpeakerLabel = showSpeakerLabel,
vocabularyFilterMethod = vocabularyFilterMethod,
vocabularyFilterName = vocabularyFilterName,
vocabularyName = vocabularyName,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy