com.pulumi.gcp.apphub.kotlin.inputs.ServiceAttributesBusinessOwnerArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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.ServiceAttributesBusinessOwnerArgs.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 Contact's name.
* @property email Required. Email address of the contacts.
*/
public data class ServiceAttributesBusinessOwnerArgs(
public val displayName: Output? = null,
public val email: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.apphub.inputs.ServiceAttributesBusinessOwnerArgs =
com.pulumi.gcp.apphub.inputs.ServiceAttributesBusinessOwnerArgs.builder()
.displayName(displayName?.applyValue({ args0 -> args0 }))
.email(email.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceAttributesBusinessOwnerArgs].
*/
@PulumiTagMarker
public class ServiceAttributesBusinessOwnerArgsBuilder internal constructor() {
private var displayName: Output? = null
private var email: Output? = null
/**
* @param value Contact's name.
*/
@JvmName("pxsldfsakgfjykup")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value Required. Email address of the contacts.
*/
@JvmName("pcngffjvasxcdckd")
public suspend fun email(`value`: Output) {
this.email = value
}
/**
* @param value Contact's name.
*/
@JvmName("xngamqtfchuruhxe")
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("blmkhltmrtmvbqdl")
public suspend fun email(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.email = mapped
}
internal fun build(): ServiceAttributesBusinessOwnerArgs = ServiceAttributesBusinessOwnerArgs(
displayName = displayName,
email = email ?: throw PulumiNullFieldException("email"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy