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

com.pulumi.awsnative.connectcampaigns.kotlin.inputs.CampaignPredictiveDialerConfigArgs.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.connectcampaigns.kotlin.inputs

import com.pulumi.awsnative.connectcampaigns.inputs.CampaignPredictiveDialerConfigArgs.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.Double
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Predictive Dialer config
 * @property bandwidthAllocation The bandwidth allocation of a queue resource.
 * @property dialingCapacity Allocates dialing capacity for this campaign between multiple active campaigns.
 */
public data class CampaignPredictiveDialerConfigArgs(
    public val bandwidthAllocation: Output,
    public val dialingCapacity: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.connectcampaigns.inputs.CampaignPredictiveDialerConfigArgs =
        com.pulumi.awsnative.connectcampaigns.inputs.CampaignPredictiveDialerConfigArgs.builder()
            .bandwidthAllocation(bandwidthAllocation.applyValue({ args0 -> args0 }))
            .dialingCapacity(dialingCapacity?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CampaignPredictiveDialerConfigArgs].
 */
@PulumiTagMarker
public class CampaignPredictiveDialerConfigArgsBuilder internal constructor() {
    private var bandwidthAllocation: Output? = null

    private var dialingCapacity: Output? = null

    /**
     * @param value The bandwidth allocation of a queue resource.
     */
    @JvmName("ibnfxipugxhcoico")
    public suspend fun bandwidthAllocation(`value`: Output) {
        this.bandwidthAllocation = value
    }

    /**
     * @param value Allocates dialing capacity for this campaign between multiple active campaigns.
     */
    @JvmName("ugjsswawuqlvmjeu")
    public suspend fun dialingCapacity(`value`: Output) {
        this.dialingCapacity = value
    }

    /**
     * @param value The bandwidth allocation of a queue resource.
     */
    @JvmName("cubfymxdgdhcgqqc")
    public suspend fun bandwidthAllocation(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bandwidthAllocation = mapped
    }

    /**
     * @param value Allocates dialing capacity for this campaign between multiple active campaigns.
     */
    @JvmName("cgaxqjktrajwxgod")
    public suspend fun dialingCapacity(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dialingCapacity = mapped
    }

    internal fun build(): CampaignPredictiveDialerConfigArgs = CampaignPredictiveDialerConfigArgs(
        bandwidthAllocation = bandwidthAllocation ?: throw PulumiNullFieldException("bandwidthAllocation"),
        dialingCapacity = dialingCapacity,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy