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

com.pulumi.gcp.apphub.kotlin.inputs.ApplicationAttributesDeveloperOwnerArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.apphub.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.apphub.inputs.ApplicationAttributesDeveloperOwnerArgs.builder
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 displayName Optional. Contact's name.
 * @property email Required. Email address of the contacts.
 */
public data class ApplicationAttributesDeveloperOwnerArgs(
    public val displayName: Output? = null,
    public val email: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.apphub.inputs.ApplicationAttributesDeveloperOwnerArgs =
        com.pulumi.gcp.apphub.inputs.ApplicationAttributesDeveloperOwnerArgs.builder()
            .displayName(displayName?.applyValue({ args0 -> args0 }))
            .email(email.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationAttributesDeveloperOwnerArgs].
 */
@PulumiTagMarker
public class ApplicationAttributesDeveloperOwnerArgsBuilder internal constructor() {
    private var displayName: Output? = null

    private var email: Output? = null

    /**
     * @param value Optional. Contact's name.
     */
    @JvmName("jhcmooljniijivqt")
    public suspend fun displayName(`value`: Output) {
        this.displayName = value
    }

    /**
     * @param value Required. Email address of the contacts.
     */
    @JvmName("jubgqlyxogbgbyji")
    public suspend fun email(`value`: Output) {
        this.email = value
    }

    /**
     * @param value Optional. Contact's name.
     */
    @JvmName("fwqqxvknjppdaomc")
    public suspend fun displayName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param value Required. Email address of the contacts.
     */
    @JvmName("pwmuyfnjjsohmfcn")
    public suspend fun email(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.email = mapped
    }

    internal fun build(): ApplicationAttributesDeveloperOwnerArgs =
        ApplicationAttributesDeveloperOwnerArgs(
            displayName = displayName,
            email = email ?: throw PulumiNullFieldException("email"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy