![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.eventgrid.kotlin.inputs.StaticRoutingEnrichmentArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.eventgrid.kotlin.inputs
import com.pulumi.azurenative.eventgrid.inputs.StaticRoutingEnrichmentArgs.builder
import com.pulumi.azurenative.eventgrid.kotlin.enums.StaticRoutingEnrichmentType
import com.pulumi.core.Either
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 key Static routing enrichment key.
* @property valueType Static routing enrichment value type. For e.g. this property value can be 'String'.
*/
public data class StaticRoutingEnrichmentArgs(
public val key: Output? = null,
public val valueType: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.eventgrid.inputs.StaticRoutingEnrichmentArgs =
com.pulumi.azurenative.eventgrid.inputs.StaticRoutingEnrichmentArgs.builder()
.key(key?.applyValue({ args0 -> args0 }))
.valueType(
valueType?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [StaticRoutingEnrichmentArgs].
*/
@PulumiTagMarker
public class StaticRoutingEnrichmentArgsBuilder internal constructor() {
private var key: Output? = null
private var valueType: Output>? = null
/**
* @param value Static routing enrichment key.
*/
@JvmName("jiwfosdlfljirwrp")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Static routing enrichment value type. For e.g. this property value can be 'String'.
*/
@JvmName("gssdemgrdicpajds")
public suspend fun valueType(`value`: Output>) {
this.valueType = value
}
/**
* @param value Static routing enrichment key.
*/
@JvmName("kebxobykvnkyniuk")
public suspend fun key(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param value Static routing enrichment value type. For e.g. this property value can be 'String'.
*/
@JvmName("ayhbegpqtwjbpyct")
public suspend fun valueType(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.valueType = mapped
}
/**
* @param value Static routing enrichment value type. For e.g. this property value can be 'String'.
*/
@JvmName("yomkgjdhoepjlwkw")
public fun valueType(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.valueType = mapped
}
/**
* @param value Static routing enrichment value type. For e.g. this property value can be 'String'.
*/
@JvmName("suukqowxmowgsjre")
public fun valueType(`value`: StaticRoutingEnrichmentType) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.valueType = mapped
}
internal fun build(): StaticRoutingEnrichmentArgs = StaticRoutingEnrichmentArgs(
key = key,
valueType = valueType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy