com.pulumi.gcp.apphub.kotlin.inputs.WorkloadAttributesBusinessOwnerArgs.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.WorkloadAttributesBusinessOwnerArgs.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 Email address of the contacts.
*/
public data class WorkloadAttributesBusinessOwnerArgs(
public val displayName: Output? = null,
public val email: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.apphub.inputs.WorkloadAttributesBusinessOwnerArgs =
com.pulumi.gcp.apphub.inputs.WorkloadAttributesBusinessOwnerArgs.builder()
.displayName(displayName?.applyValue({ args0 -> args0 }))
.email(email.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkloadAttributesBusinessOwnerArgs].
*/
@PulumiTagMarker
public class WorkloadAttributesBusinessOwnerArgsBuilder internal constructor() {
private var displayName: Output? = null
private var email: Output? = null
/**
* @param value Contact's name.
*/
@JvmName("ftxlasqwdtcvfgsr")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value Email address of the contacts.
*/
@JvmName("efegjedmlbtwcbkt")
public suspend fun email(`value`: Output) {
this.email = value
}
/**
* @param value Contact's name.
*/
@JvmName("laakduxaqpoevilr")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayName = mapped
}
/**
* @param value Email address of the contacts.
*/
@JvmName("qwotfsyxvvclirfx")
public suspend fun email(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.email = mapped
}
internal fun build(): WorkloadAttributesBusinessOwnerArgs = WorkloadAttributesBusinessOwnerArgs(
displayName = displayName,
email = email ?: throw PulumiNullFieldException("email"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy