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

com.pulumi.azurenative.logz.kotlin.inputs.UserInfoArgs.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.logz.kotlin.inputs

import com.pulumi.azurenative.logz.inputs.UserInfoArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property emailAddress Email of the user used by Logz for contacting them if needed
 * @property firstName First Name of the user
 * @property lastName Last Name of the user
 * @property phoneNumber Phone number of the user used by Logz for contacting them if needed
 */
public data class UserInfoArgs(
    public val emailAddress: Output? = null,
    public val firstName: Output? = null,
    public val lastName: Output? = null,
    public val phoneNumber: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.logz.inputs.UserInfoArgs =
        com.pulumi.azurenative.logz.inputs.UserInfoArgs.builder()
            .emailAddress(emailAddress?.applyValue({ args0 -> args0 }))
            .firstName(firstName?.applyValue({ args0 -> args0 }))
            .lastName(lastName?.applyValue({ args0 -> args0 }))
            .phoneNumber(phoneNumber?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [UserInfoArgs].
 */
@PulumiTagMarker
public class UserInfoArgsBuilder internal constructor() {
    private var emailAddress: Output? = null

    private var firstName: Output? = null

    private var lastName: Output? = null

    private var phoneNumber: Output? = null

    /**
     * @param value Email of the user used by Logz for contacting them if needed
     */
    @JvmName("spqlqwgbojshifmt")
    public suspend fun emailAddress(`value`: Output) {
        this.emailAddress = value
    }

    /**
     * @param value First Name of the user
     */
    @JvmName("hlusghvyenwowsfx")
    public suspend fun firstName(`value`: Output) {
        this.firstName = value
    }

    /**
     * @param value Last Name of the user
     */
    @JvmName("aqdxnhqleatqeshs")
    public suspend fun lastName(`value`: Output) {
        this.lastName = value
    }

    /**
     * @param value Phone number of the user used by Logz for contacting them if needed
     */
    @JvmName("slhyatlgvakwlunl")
    public suspend fun phoneNumber(`value`: Output) {
        this.phoneNumber = value
    }

    /**
     * @param value Email of the user used by Logz for contacting them if needed
     */
    @JvmName("jdtdofdeuvcfihde")
    public suspend fun emailAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.emailAddress = mapped
    }

    /**
     * @param value First Name of the user
     */
    @JvmName("hmpnyljsuywjhuyq")
    public suspend fun firstName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.firstName = mapped
    }

    /**
     * @param value Last Name of the user
     */
    @JvmName("jguqbfltrlrngygy")
    public suspend fun lastName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastName = mapped
    }

    /**
     * @param value Phone number of the user used by Logz for contacting them if needed
     */
    @JvmName("cpnsvodkfbgvviyw")
    public suspend fun phoneNumber(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.phoneNumber = mapped
    }

    internal fun build(): UserInfoArgs = UserInfoArgs(
        emailAddress = emailAddress,
        firstName = firstName,
        lastName = lastName,
        phoneNumber = phoneNumber,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy