
com.pulumi.awsnative.connectcampaigns.kotlin.inputs.CampaignAnswerMachineDetectionConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.connectcampaigns.kotlin.inputs
import com.pulumi.awsnative.connectcampaigns.inputs.CampaignAnswerMachineDetectionConfigArgs.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
/**
* The configuration used for answering machine detection during outbound calls
* @property awaitAnswerMachinePrompt Enables detection of prompts (e.g., beep after after a voicemail greeting)
* @property enableAnswerMachineDetection Flag to decided whether outbound calls should have answering machine detection enabled or not
*/
public data class CampaignAnswerMachineDetectionConfigArgs(
public val awaitAnswerMachinePrompt: Output? = null,
public val enableAnswerMachineDetection: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connectcampaigns.inputs.CampaignAnswerMachineDetectionConfigArgs =
com.pulumi.awsnative.connectcampaigns.inputs.CampaignAnswerMachineDetectionConfigArgs.builder()
.awaitAnswerMachinePrompt(awaitAnswerMachinePrompt?.applyValue({ args0 -> args0 }))
.enableAnswerMachineDetection(enableAnswerMachineDetection.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CampaignAnswerMachineDetectionConfigArgs].
*/
@PulumiTagMarker
public class CampaignAnswerMachineDetectionConfigArgsBuilder internal constructor() {
private var awaitAnswerMachinePrompt: Output? = null
private var enableAnswerMachineDetection: Output? = null
/**
* @param value Enables detection of prompts (e.g., beep after after a voicemail greeting)
*/
@JvmName("dfxjycadibyprepo")
public suspend fun awaitAnswerMachinePrompt(`value`: Output) {
this.awaitAnswerMachinePrompt = value
}
/**
* @param value Flag to decided whether outbound calls should have answering machine detection enabled or not
*/
@JvmName("ursudmbukvnocbpq")
public suspend fun enableAnswerMachineDetection(`value`: Output) {
this.enableAnswerMachineDetection = value
}
/**
* @param value Enables detection of prompts (e.g., beep after after a voicemail greeting)
*/
@JvmName("lxmmxpopgcwnoeuv")
public suspend fun awaitAnswerMachinePrompt(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.awaitAnswerMachinePrompt = mapped
}
/**
* @param value Flag to decided whether outbound calls should have answering machine detection enabled or not
*/
@JvmName("cirugohixnyowipo")
public suspend fun enableAnswerMachineDetection(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enableAnswerMachineDetection = mapped
}
internal fun build(): CampaignAnswerMachineDetectionConfigArgs =
CampaignAnswerMachineDetectionConfigArgs(
awaitAnswerMachinePrompt = awaitAnswerMachinePrompt,
enableAnswerMachineDetection = enableAnswerMachineDetection ?: throw
PulumiNullFieldException("enableAnswerMachineDetection"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy