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

com.pulumi.azure.monitoring.kotlin.inputs.ActionGroupVoiceReceiverArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.inputs

import com.pulumi.azure.monitoring.inputs.ActionGroupVoiceReceiverArgs.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

/**
 *
 * @property countryCode The country code of the voice receiver.
 * @property name The name of the voice receiver.
 * @property phoneNumber The phone number of the voice receiver.
 */
public data class ActionGroupVoiceReceiverArgs(
    public val countryCode: Output,
    public val name: Output,
    public val phoneNumber: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.monitoring.inputs.ActionGroupVoiceReceiverArgs =
        com.pulumi.azure.monitoring.inputs.ActionGroupVoiceReceiverArgs.builder()
            .countryCode(countryCode.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .phoneNumber(phoneNumber.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ActionGroupVoiceReceiverArgs].
 */
@PulumiTagMarker
public class ActionGroupVoiceReceiverArgsBuilder 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("hyfqmiuoxywlnmhs")
    public suspend fun countryCode(`value`: Output) {
        this.countryCode = value
    }

    /**
     * @param value The name of the voice receiver.
     */
    @JvmName("xertufrgrxnlbtju")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The phone number of the voice receiver.
     */
    @JvmName("xsglahulnkkllmdl")
    public suspend fun phoneNumber(`value`: Output) {
        this.phoneNumber = value
    }

    /**
     * @param value The country code of the voice receiver.
     */
    @JvmName("qebfgyhdcdqmrscv")
    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.
     */
    @JvmName("vekfihcikuddtxyh")
    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("ukfxsvsjjwkxtypb")
    public suspend fun phoneNumber(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.phoneNumber = mapped
    }

    internal fun build(): ActionGroupVoiceReceiverArgs = ActionGroupVoiceReceiverArgs(
        countryCode = countryCode ?: throw PulumiNullFieldException("countryCode"),
        name = name ?: throw PulumiNullFieldException("name"),
        phoneNumber = phoneNumber ?: throw PulumiNullFieldException("phoneNumber"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy