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

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

package com.pulumi.azure.apimanagement.kotlin.inputs

import com.pulumi.azure.apimanagement.inputs.ApiContactArgs.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 email The email address of the contact person/organization.
 * @property name The name of the contact person/organization.
 * @property url Absolute URL of the contact information.
 */
public data class ApiContactArgs(
    public val email: Output? = null,
    public val name: Output? = null,
    public val url: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.apimanagement.inputs.ApiContactArgs =
        com.pulumi.azure.apimanagement.inputs.ApiContactArgs.builder()
            .email(email?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .url(url?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApiContactArgs].
 */
@PulumiTagMarker
public class ApiContactArgsBuilder internal constructor() {
    private var email: Output? = null

    private var name: Output? = null

    private var url: Output? = null

    /**
     * @param value The email address of the contact person/organization.
     */
    @JvmName("viquehesaatfoxup")
    public suspend fun email(`value`: Output) {
        this.email = value
    }

    /**
     * @param value The name of the contact person/organization.
     */
    @JvmName("rneopqeqjgdbprsh")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Absolute URL of the contact information.
     */
    @JvmName("awghewkungemddbf")
    public suspend fun url(`value`: Output) {
        this.url = value
    }

    /**
     * @param value The email address of the contact person/organization.
     */
    @JvmName("qvcfpnixafmxowxa")
    public suspend fun email(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.email = mapped
    }

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

    /**
     * @param value Absolute URL of the contact information.
     */
    @JvmName("gkpiigoficikrjpe")
    public suspend fun url(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.url = mapped
    }

    internal fun build(): ApiContactArgs = ApiContactArgs(
        email = email,
        name = name,
        url = url,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy