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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property speakerSearchStatus Enable speaker search.
 * @property voiceToneAnalysisStatus Enable voice tone analysis.
 */
public data class MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgs(
    public val speakerSearchStatus: Output,
    public val voiceToneAnalysisStatus: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgs =
        com.pulumi.aws.chimesdkmediapipelines.inputs.MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgs.builder()
            .speakerSearchStatus(speakerSearchStatus.applyValue({ args0 -> args0 }))
            .voiceToneAnalysisStatus(voiceToneAnalysisStatus.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgs].
 */
@PulumiTagMarker
public class
MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgsBuilder
internal constructor() {
    private var speakerSearchStatus: Output? = null

    private var voiceToneAnalysisStatus: Output? = null

    /**
     * @param value Enable speaker search.
     */
    @JvmName("yfgsuxeqaqgrcvdh")
    public suspend fun speakerSearchStatus(`value`: Output) {
        this.speakerSearchStatus = value
    }

    /**
     * @param value Enable voice tone analysis.
     */
    @JvmName("ugsnluvaguhikoyr")
    public suspend fun voiceToneAnalysisStatus(`value`: Output) {
        this.voiceToneAnalysisStatus = value
    }

    /**
     * @param value Enable speaker search.
     */
    @JvmName("kksmuyjmixpxuvuj")
    public suspend fun speakerSearchStatus(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.speakerSearchStatus = mapped
    }

    /**
     * @param value Enable voice tone analysis.
     */
    @JvmName("xfenmwrdbqfweluc")
    public suspend fun voiceToneAnalysisStatus(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.voiceToneAnalysisStatus = mapped
    }

    internal fun build(): MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgs =
        MediaInsightsPipelineConfigurationElementVoiceAnalyticsProcessorConfigurationArgs(
            speakerSearchStatus = speakerSearchStatus ?: throw PulumiNullFieldException("speakerSearchStatus"),
            voiceToneAnalysisStatus = voiceToneAnalysisStatus ?: throw
                PulumiNullFieldException("voiceToneAnalysisStatus"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy