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

com.pulumi.azurenative.databox.kotlin.inputs.ContactInfoArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.databox.kotlin.inputs

import com.pulumi.azurenative.databox.inputs.ContactInfoArgs.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

/**
 * Contact Info.
 * @property contactName Contact name of the person.
 * @property mobile Mobile number of the contact person.
 * @property phone Phone number of the contact person.
 * @property phoneExtension Phone extension number of the contact person.
 */
public data class ContactInfoArgs(
    public val contactName: Output,
    public val mobile: Output? = null,
    public val phone: Output,
    public val phoneExtension: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.databox.inputs.ContactInfoArgs =
        com.pulumi.azurenative.databox.inputs.ContactInfoArgs.builder()
            .contactName(contactName.applyValue({ args0 -> args0 }))
            .mobile(mobile?.applyValue({ args0 -> args0 }))
            .phone(phone.applyValue({ args0 -> args0 }))
            .phoneExtension(phoneExtension?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ContactInfoArgs].
 */
@PulumiTagMarker
public class ContactInfoArgsBuilder internal constructor() {
    private var contactName: Output? = null

    private var mobile: Output? = null

    private var phone: Output? = null

    private var phoneExtension: Output? = null

    /**
     * @param value Contact name of the person.
     */
    @JvmName("yievxteahumyjsyl")
    public suspend fun contactName(`value`: Output) {
        this.contactName = value
    }

    /**
     * @param value Mobile number of the contact person.
     */
    @JvmName("awuwyfqawvhgtihm")
    public suspend fun mobile(`value`: Output) {
        this.mobile = value
    }

    /**
     * @param value Phone number of the contact person.
     */
    @JvmName("dlrpnjwglusfgfie")
    public suspend fun phone(`value`: Output) {
        this.phone = value
    }

    /**
     * @param value Phone extension number of the contact person.
     */
    @JvmName("rykvcbibemhviddb")
    public suspend fun phoneExtension(`value`: Output) {
        this.phoneExtension = value
    }

    /**
     * @param value Contact name of the person.
     */
    @JvmName("ofnqhcphxhjttrxx")
    public suspend fun contactName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.contactName = mapped
    }

    /**
     * @param value Mobile number of the contact person.
     */
    @JvmName("nvjemmdffpedhgsc")
    public suspend fun mobile(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mobile = mapped
    }

    /**
     * @param value Phone number of the contact person.
     */
    @JvmName("kabebxmtbhpyirnp")
    public suspend fun phone(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.phone = mapped
    }

    /**
     * @param value Phone extension number of the contact person.
     */
    @JvmName("ldceavscnoodafgv")
    public suspend fun phoneExtension(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.phoneExtension = mapped
    }

    internal fun build(): ContactInfoArgs = ContactInfoArgs(
        contactName = contactName ?: throw PulumiNullFieldException("contactName"),
        mobile = mobile,
        phone = phone ?: throw PulumiNullFieldException("phone"),
        phoneExtension = phoneExtension,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy