All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.chimesdkmediapipelines.kotlin.inputs.MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.chimesdkmediapipelines.kotlin.inputs

import com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property callAnalyticsStreamCategories Filter for category events to be delivered to insights target.
 * @property contentIdentificationType Labels all personally identifiable information (PII) identified in Utterance events.
 * @property contentRedactionType Redacts all personally identifiable information (PII) identified in Utterance events.
 * @property enablePartialResultsStabilization Enables partial result stabilization in Utterance 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 an Utterance event.
 * @property postCallAnalyticsSettings Settings for post call analytics.
 * @property vocabularyFilterMethod Method for applying a vocabulary filter to Utterance events.
 * @property vocabularyFilterName Name of the custom vocabulary filter to use when processing Utterance events.
 * @property vocabularyName Name of the custom vocabulary to use when processing Utterance events.
 */
public data class
MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs(
    public val callAnalyticsStreamCategories: Output>? = null,
    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 postCallAnalyticsSettings: 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.MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs =
        com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs.builder()
            .callAnalyticsStreamCategories(
                callAnalyticsStreamCategories?.applyValue({ args0 ->
                    args0.map({ args0 -> args0 })
                }),
            )
            .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 }))
            .postCallAnalyticsSettings(
                postCallAnalyticsSettings?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .vocabularyFilterMethod(vocabularyFilterMethod?.applyValue({ args0 -> args0 }))
            .vocabularyFilterName(vocabularyFilterName?.applyValue({ args0 -> args0 }))
            .vocabularyName(vocabularyName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs].
 */
@PulumiTagMarker
public class
MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgsBuilder
internal constructor() {
    private var callAnalyticsStreamCategories: Output>? = null

    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 postCallAnalyticsSettings:
        Output? =
        null

    private var vocabularyFilterMethod: Output? = null

    private var vocabularyFilterName: Output? = null

    private var vocabularyName: Output? = null

    /**
     * @param value Filter for category events to be delivered to insights target.
     */
    @JvmName("xpawxojibqtlxump")
    public suspend fun callAnalyticsStreamCategories(`value`: Output>) {
        this.callAnalyticsStreamCategories = value
    }

    @JvmName("bkpjdwreyjywunkv")
    public suspend fun callAnalyticsStreamCategories(vararg values: Output) {
        this.callAnalyticsStreamCategories = Output.all(values.asList())
    }

    /**
     * @param values Filter for category events to be delivered to insights target.
     */
    @JvmName("fqelehuhpskslhnp")
    public suspend fun callAnalyticsStreamCategories(values: List>) {
        this.callAnalyticsStreamCategories = Output.all(values)
    }

    /**
     * @param value Labels all personally identifiable information (PII) identified in Utterance events.
     */
    @JvmName("uplowtnompvcyeau")
    public suspend fun contentIdentificationType(`value`: Output) {
        this.contentIdentificationType = value
    }

    /**
     * @param value Redacts all personally identifiable information (PII) identified in Utterance events.
     */
    @JvmName("ttixkrutvhjygspu")
    public suspend fun contentRedactionType(`value`: Output) {
        this.contentRedactionType = value
    }

    /**
     * @param value Enables partial result stabilization in Utterance events.
     */
    @JvmName("frjfpyjrhxhggvwi")
    public suspend fun enablePartialResultsStabilization(`value`: Output) {
        this.enablePartialResultsStabilization = value
    }

    /**
     * @param value Filters partial Utterance events from delivery to the insights target.
     */
    @JvmName("fhgwpaduqpcpkbue")
    public suspend fun filterPartialResults(`value`: Output) {
        this.filterPartialResults = value
    }

    /**
     * @param value Language code for the transcription model.
     */
    @JvmName("xfljftthunbnrrax")
    public suspend fun languageCode(`value`: Output) {
        this.languageCode = value
    }

    /**
     * @param value Name of custom language model for transcription.
     */
    @JvmName("oimpqkvtxxvmboqf")
    public suspend fun languageModelName(`value`: Output) {
        this.languageModelName = value
    }

    /**
     * @param value Level of stability to use when partial results stabilization is enabled.
     */
    @JvmName("xvpemaitpsggyvuj")
    public suspend fun partialResultsStability(`value`: Output) {
        this.partialResultsStability = value
    }

    /**
     * @param value Types of personally identifiable information (PII) to redact from an Utterance event.
     */
    @JvmName("mgpsolkuobrvkrhm")
    public suspend fun piiEntityTypes(`value`: Output) {
        this.piiEntityTypes = value
    }

    /**
     * @param value Settings for post call analytics.
     */
    @JvmName("mchkyqycqjirqwfo")
    public suspend fun postCallAnalyticsSettings(`value`: Output) {
        this.postCallAnalyticsSettings = value
    }

    /**
     * @param value Method for applying a vocabulary filter to Utterance events.
     */
    @JvmName("tjqenowbbnttvdre")
    public suspend fun vocabularyFilterMethod(`value`: Output) {
        this.vocabularyFilterMethod = value
    }

    /**
     * @param value Name of the custom vocabulary filter to use when processing Utterance events.
     */
    @JvmName("cqlpxjjqjmomgcxs")
    public suspend fun vocabularyFilterName(`value`: Output) {
        this.vocabularyFilterName = value
    }

    /**
     * @param value Name of the custom vocabulary to use when processing Utterance events.
     */
    @JvmName("ajctxrdjoxlsqdee")
    public suspend fun vocabularyName(`value`: Output) {
        this.vocabularyName = value
    }

    /**
     * @param value Filter for category events to be delivered to insights target.
     */
    @JvmName("bvsymwefstugdcka")
    public suspend fun callAnalyticsStreamCategories(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.callAnalyticsStreamCategories = mapped
    }

    /**
     * @param values Filter for category events to be delivered to insights target.
     */
    @JvmName("egyuwewvhejbusqp")
    public suspend fun callAnalyticsStreamCategories(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.callAnalyticsStreamCategories = mapped
    }

    /**
     * @param value Labels all personally identifiable information (PII) identified in Utterance events.
     */
    @JvmName("anpuddcfegmbwrgj")
    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 Utterance events.
     */
    @JvmName("bckggtwgerxsmufn")
    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 Utterance events.
     */
    @JvmName("evsknpnofqqyhhxe")
    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("flldckfsbxvemnlg")
    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("ujcnmbyxfqbicsmn")
    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("atilbllfrvnwqelr")
    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("uemvxobwdfhsbmeo")
    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 an Utterance event.
     */
    @JvmName("ycjbxgyhnjklklph")
    public suspend fun piiEntityTypes(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.piiEntityTypes = mapped
    }

    /**
     * @param value Settings for post call analytics.
     */
    @JvmName("bekjrdymkmlpfyie")
    public suspend fun postCallAnalyticsSettings(`value`: MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationPostCallAnalyticsSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.postCallAnalyticsSettings = mapped
    }

    /**
     * @param argument Settings for post call analytics.
     */
    @JvmName("dpgiuotseevnbrnh")
    public suspend fun postCallAnalyticsSettings(argument: suspend MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationPostCallAnalyticsSettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationPostCallAnalyticsSettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.postCallAnalyticsSettings = mapped
    }

    /**
     * @param value Method for applying a vocabulary filter to Utterance events.
     */
    @JvmName("aorcntgislfclbur")
    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 Utterance events.
     */
    @JvmName("dqsycyiklgdgmocj")
    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 Utterance events.
     */
    @JvmName("hokocklgrkblvnoq")
    public suspend fun vocabularyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vocabularyName = mapped
    }

    internal fun build(): MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs =
        MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs(
            callAnalyticsStreamCategories = callAnalyticsStreamCategories,
            contentIdentificationType = contentIdentificationType,
            contentRedactionType = contentRedactionType,
            enablePartialResultsStabilization = enablePartialResultsStabilization,
            filterPartialResults = filterPartialResults,
            languageCode = languageCode ?: throw PulumiNullFieldException("languageCode"),
            languageModelName = languageModelName,
            partialResultsStability = partialResultsStability,
            piiEntityTypes = piiEntityTypes,
            postCallAnalyticsSettings = postCallAnalyticsSettings,
            vocabularyFilterMethod = vocabularyFilterMethod,
            vocabularyFilterName = vocabularyFilterName,
            vocabularyName = vocabularyName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy