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

com.pulumi.azurenative.elastic.kotlin.inputs.UserInfoArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.elastic.kotlin.inputs

import com.pulumi.azurenative.elastic.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * User Information to be passed to partners.
 * @property companyInfo Company information of the user to be passed to partners.
 * @property companyName Company name of the user
 * @property emailAddress Email of the user used by Elastic for contacting them if needed
 * @property firstName First name of the user
 * @property lastName Last name of the user
 */
public data class UserInfoArgs(
    public val companyInfo: Output? = null,
    public val companyName: Output? = null,
    public val emailAddress: Output? = null,
    public val firstName: Output? = null,
    public val lastName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.elastic.inputs.UserInfoArgs =
        com.pulumi.azurenative.elastic.inputs.UserInfoArgs.builder()
            .companyInfo(companyInfo?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .companyName(companyName?.applyValue({ args0 -> args0 }))
            .emailAddress(emailAddress?.applyValue({ args0 -> args0 }))
            .firstName(firstName?.applyValue({ args0 -> args0 }))
            .lastName(lastName?.applyValue({ args0 -> args0 })).build()
}

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

    private var companyName: Output? = null

    private var emailAddress: Output? = null

    private var firstName: Output? = null

    private var lastName: Output? = null

    /**
     * @param value Company information of the user to be passed to partners.
     */
    @JvmName("ahyftgtvitfgsbed")
    public suspend fun companyInfo(`value`: Output) {
        this.companyInfo = value
    }

    /**
     * @param value Company name of the user
     */
    @JvmName("wtvllwthubdyegra")
    public suspend fun companyName(`value`: Output) {
        this.companyName = value
    }

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

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

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

    /**
     * @param value Company information of the user to be passed to partners.
     */
    @JvmName("xycwbeellcxkokbb")
    public suspend fun companyInfo(`value`: CompanyInfoArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.companyInfo = mapped
    }

    /**
     * @param argument Company information of the user to be passed to partners.
     */
    @JvmName("jemhfadmpyoebkny")
    public suspend fun companyInfo(argument: suspend CompanyInfoArgsBuilder.() -> Unit) {
        val toBeMapped = CompanyInfoArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.companyInfo = mapped
    }

    /**
     * @param value Company name of the user
     */
    @JvmName("lvfbyxmdcawdnskf")
    public suspend fun companyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.companyName = mapped
    }

    /**
     * @param value Email of the user used by Elastic for contacting them if needed
     */
    @JvmName("srtbaqmeubaoxjoi")
    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("fjmyyvornsbvmoyb")
    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("arvsladvyfvpvpqp")
    public suspend fun lastName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lastName = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy