
com.pulumi.azurenative.eventgrid.kotlin.inputs.StaticDeliveryAttributeMappingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.eventgrid.kotlin.inputs
import com.pulumi.azurenative.eventgrid.inputs.StaticDeliveryAttributeMappingArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Static delivery attribute mapping details.
* @property isSecret Boolean flag to tell if the attribute contains sensitive information .
* @property name Name of the delivery attribute or header.
* @property type Type of the delivery attribute or header name.
* Expected value is 'Static'.
* @property value Value of the delivery attribute.
*/
public data class StaticDeliveryAttributeMappingArgs(
public val isSecret: Output? = null,
public val name: Output? = null,
public val type: Output,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.eventgrid.inputs.StaticDeliveryAttributeMappingArgs = com.pulumi.azurenative.eventgrid.inputs.StaticDeliveryAttributeMappingArgs.builder()
.isSecret(isSecret?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StaticDeliveryAttributeMappingArgs].
*/
@PulumiTagMarker
public class StaticDeliveryAttributeMappingArgsBuilder internal constructor() {
private var isSecret: Output? = null
private var name: Output? = null
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value Boolean flag to tell if the attribute contains sensitive information .
*/
@JvmName("xvrylrcyywotduqx")
public suspend fun isSecret(`value`: Output) {
this.isSecret = value
}
/**
* @param value Name of the delivery attribute or header.
*/
@JvmName("sbgittldkwkdqlec")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Type of the delivery attribute or header name.
* Expected value is 'Static'.
*/
@JvmName("obirbgqqiyaixgrs")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Value of the delivery attribute.
*/
@JvmName("jbiefdmonfygcfil")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Boolean flag to tell if the attribute contains sensitive information .
*/
@JvmName("tbpagdyjybuecmag")
public suspend fun isSecret(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isSecret = mapped
}
/**
* @param value Name of the delivery attribute or header.
*/
@JvmName("ifwyiscloudsdeaf")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Type of the delivery attribute or header name.
* Expected value is 'Static'.
*/
@JvmName("frmtnvdambnoqfkb")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value Value of the delivery attribute.
*/
@JvmName("feolmsfjkbrgipsr")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): StaticDeliveryAttributeMappingArgs = StaticDeliveryAttributeMappingArgs(
isSecret = isSecret,
name = name,
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy