com.pulumi.azure.sentinel.kotlin.inputs.MetadataSupportArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.sentinel.kotlin.inputs
import com.pulumi.azure.sentinel.inputs.MetadataSupportArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 email The email address of the support contact.
* @property link The link for support help.
* @property name The name of the support contact.
* @property tier The type of support for content item. Possible values are `Microsoft`, `Partner` and `Community`.
*/
public data class MetadataSupportArgs(
public val email: Output? = null,
public val link: Output? = null,
public val name: Output? = null,
public val tier: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.sentinel.inputs.MetadataSupportArgs =
com.pulumi.azure.sentinel.inputs.MetadataSupportArgs.builder()
.email(email?.applyValue({ args0 -> args0 }))
.link(link?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.tier(tier.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MetadataSupportArgs].
*/
@PulumiTagMarker
public class MetadataSupportArgsBuilder internal constructor() {
private var email: Output? = null
private var link: Output? = null
private var name: Output? = null
private var tier: Output? = null
/**
* @param value The email address of the support contact.
*/
@JvmName("tkknhlgurgysxuot")
public suspend fun email(`value`: Output) {
this.email = value
}
/**
* @param value The link for support help.
*/
@JvmName("hlmqdpknbxikaeav")
public suspend fun link(`value`: Output) {
this.link = value
}
/**
* @param value The name of the support contact.
*/
@JvmName("slgxeqpqopkrhswg")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The type of support for content item. Possible values are `Microsoft`, `Partner` and `Community`.
*/
@JvmName("xlpvqnsvqsexggfq")
public suspend fun tier(`value`: Output) {
this.tier = value
}
/**
* @param value The email address of the support contact.
*/
@JvmName("nytnsqkkmhrhkpjc")
public suspend fun email(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.email = mapped
}
/**
* @param value The link for support help.
*/
@JvmName("lqcthllgxlwjdjky")
public suspend fun link(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.link = mapped
}
/**
* @param value The name of the support contact.
*/
@JvmName("dbuwegtsdgjggrpv")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The type of support for content item. Possible values are `Microsoft`, `Partner` and `Community`.
*/
@JvmName("oordykofbbvriamf")
public suspend fun tier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tier = mapped
}
internal fun build(): MetadataSupportArgs = MetadataSupportArgs(
email = email,
link = link,
name = name,
tier = tier ?: throw PulumiNullFieldException("tier"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy