
com.pulumi.awsnative.connectcampaigns.kotlin.outputs.CampaignAnswerMachineDetectionConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connectcampaigns.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* 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 CampaignAnswerMachineDetectionConfig(
public val awaitAnswerMachinePrompt: Boolean? = null,
public val enableAnswerMachineDetection: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.connectcampaigns.outputs.CampaignAnswerMachineDetectionConfig): CampaignAnswerMachineDetectionConfig = CampaignAnswerMachineDetectionConfig(
awaitAnswerMachinePrompt = javaType.awaitAnswerMachinePrompt().map({ args0 -> args0 }).orElse(null),
enableAnswerMachineDetection = javaType.enableAnswerMachineDetection(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy