![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.VoiceReceiverArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.VoiceReceiverArgs.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
/**
* A voice receiver.
* @property countryCode The country code of the voice receiver.
* @property name The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
* @property phoneNumber The phone number of the voice receiver.
*/
public data class VoiceReceiverArgs(
public val countryCode: Output,
public val name: Output,
public val phoneNumber: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.VoiceReceiverArgs =
com.pulumi.azurenative.insights.inputs.VoiceReceiverArgs.builder()
.countryCode(countryCode.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.phoneNumber(phoneNumber.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VoiceReceiverArgs].
*/
@PulumiTagMarker
public class VoiceReceiverArgsBuilder internal constructor() {
private var countryCode: Output? = null
private var name: Output? = null
private var phoneNumber: Output? = null
/**
* @param value The country code of the voice receiver.
*/
@JvmName("dthbkmmxkwphxfgu")
public suspend fun countryCode(`value`: Output) {
this.countryCode = value
}
/**
* @param value The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
*/
@JvmName("ghqukpanvosavtaj")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The phone number of the voice receiver.
*/
@JvmName("wdmokrgdkrxdejif")
public suspend fun phoneNumber(`value`: Output) {
this.phoneNumber = value
}
/**
* @param value The country code of the voice receiver.
*/
@JvmName("aquvsxyeffxbnfnb")
public suspend fun countryCode(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.countryCode = mapped
}
/**
* @param value The name of the voice receiver. Names must be unique across all receivers within a tenant action group.
*/
@JvmName("acmeyptwexbgsfpa")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The phone number of the voice receiver.
*/
@JvmName("xypruavmlotakait")
public suspend fun phoneNumber(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.phoneNumber = mapped
}
internal fun build(): VoiceReceiverArgs = VoiceReceiverArgs(
countryCode = countryCode ?: throw PulumiNullFieldException("countryCode"),
name = name ?: throw PulumiNullFieldException("name"),
phoneNumber = phoneNumber ?: throw PulumiNullFieldException("phoneNumber"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy