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

com.pulumi.awsnative.connect.kotlin.inputs.InstanceAttributesArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.inputs

import com.pulumi.awsnative.connect.inputs.InstanceAttributesArgs.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.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property autoResolveBestVoices
 * @property contactLens
 * @property contactflowLogs
 * @property earlyMedia
 * @property inboundCalls
 * @property outboundCalls
 * @property useCustomTtsVoices
 */
public data class InstanceAttributesArgs(
    public val autoResolveBestVoices: Output? = null,
    public val contactLens: Output? = null,
    public val contactflowLogs: Output? = null,
    public val earlyMedia: Output? = null,
    public val inboundCalls: Output,
    public val outboundCalls: Output,
    public val useCustomTtsVoices: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.connect.inputs.InstanceAttributesArgs =
        com.pulumi.awsnative.connect.inputs.InstanceAttributesArgs.builder()
            .autoResolveBestVoices(autoResolveBestVoices?.applyValue({ args0 -> args0 }))
            .contactLens(contactLens?.applyValue({ args0 -> args0 }))
            .contactflowLogs(contactflowLogs?.applyValue({ args0 -> args0 }))
            .earlyMedia(earlyMedia?.applyValue({ args0 -> args0 }))
            .inboundCalls(inboundCalls.applyValue({ args0 -> args0 }))
            .outboundCalls(outboundCalls.applyValue({ args0 -> args0 }))
            .useCustomTtsVoices(useCustomTtsVoices?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceAttributesArgs].
 */
@PulumiTagMarker
public class InstanceAttributesArgsBuilder internal constructor() {
    private var autoResolveBestVoices: Output? = null

    private var contactLens: Output? = null

    private var contactflowLogs: Output? = null

    private var earlyMedia: Output? = null

    private var inboundCalls: Output? = null

    private var outboundCalls: Output? = null

    private var useCustomTtsVoices: Output? = null

    /**
     * @param value
     */
    @JvmName("kqxnsabmokfxejei")
    public suspend fun autoResolveBestVoices(`value`: Output) {
        this.autoResolveBestVoices = value
    }

    /**
     * @param value
     */
    @JvmName("jnumopkfpdpfppwl")
    public suspend fun contactLens(`value`: Output) {
        this.contactLens = value
    }

    /**
     * @param value
     */
    @JvmName("cdquumieegqwvndg")
    public suspend fun contactflowLogs(`value`: Output) {
        this.contactflowLogs = value
    }

    /**
     * @param value
     */
    @JvmName("iyrgweiacdygickj")
    public suspend fun earlyMedia(`value`: Output) {
        this.earlyMedia = value
    }

    /**
     * @param value
     */
    @JvmName("erxxfjsfpksivcgm")
    public suspend fun inboundCalls(`value`: Output) {
        this.inboundCalls = value
    }

    /**
     * @param value
     */
    @JvmName("ejytejhrilcfoagf")
    public suspend fun outboundCalls(`value`: Output) {
        this.outboundCalls = value
    }

    /**
     * @param value
     */
    @JvmName("dytpkixxhixpuuon")
    public suspend fun useCustomTtsVoices(`value`: Output) {
        this.useCustomTtsVoices = value
    }

    /**
     * @param value
     */
    @JvmName("itskbcqkysasgulu")
    public suspend fun autoResolveBestVoices(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.autoResolveBestVoices = mapped
    }

    /**
     * @param value
     */
    @JvmName("nbsqqwbcijiedtda")
    public suspend fun contactLens(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contactLens = mapped
    }

    /**
     * @param value
     */
    @JvmName("mgmawjaliieytlpx")
    public suspend fun contactflowLogs(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contactflowLogs = mapped
    }

    /**
     * @param value
     */
    @JvmName("qqdsusiwvctvsijn")
    public suspend fun earlyMedia(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.earlyMedia = mapped
    }

    /**
     * @param value
     */
    @JvmName("gdowqcrniqljwfhi")
    public suspend fun inboundCalls(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.inboundCalls = mapped
    }

    /**
     * @param value
     */
    @JvmName("swsyqellddtoiael")
    public suspend fun outboundCalls(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.outboundCalls = mapped
    }

    /**
     * @param value
     */
    @JvmName("eicljaxtddxrorwq")
    public suspend fun useCustomTtsVoices(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.useCustomTtsVoices = mapped
    }

    internal fun build(): InstanceAttributesArgs = InstanceAttributesArgs(
        autoResolveBestVoices = autoResolveBestVoices,
        contactLens = contactLens,
        contactflowLogs = contactflowLogs,
        earlyMedia = earlyMedia,
        inboundCalls = inboundCalls ?: throw PulumiNullFieldException("inboundCalls"),
        outboundCalls = outboundCalls ?: throw PulumiNullFieldException("outboundCalls"),
        useCustomTtsVoices = useCustomTtsVoices,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy