![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.eventgrid.kotlin.inputs.EventSubscriptionDeliveryPropertyArgs.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.eventgrid.kotlin.inputs
import com.pulumi.azure.eventgrid.inputs.EventSubscriptionDeliveryPropertyArgs.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
/**
*
* @property headerName The name of the header to send on to the destination
* @property secret True if the `value` is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
* @property sourceField If the `type` is `Dynamic`, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
* @property type Either `Static` or `Dynamic`
* @property value If the `type` is `Static`, then provide the value to use
*/
public data class EventSubscriptionDeliveryPropertyArgs(
public val headerName: Output,
public val secret: Output? = null,
public val sourceField: Output? = null,
public val type: Output,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.eventgrid.inputs.EventSubscriptionDeliveryPropertyArgs =
com.pulumi.azure.eventgrid.inputs.EventSubscriptionDeliveryPropertyArgs.builder()
.headerName(headerName.applyValue({ args0 -> args0 }))
.secret(secret?.applyValue({ args0 -> args0 }))
.sourceField(sourceField?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventSubscriptionDeliveryPropertyArgs].
*/
@PulumiTagMarker
public class EventSubscriptionDeliveryPropertyArgsBuilder internal constructor() {
private var headerName: Output? = null
private var secret: Output? = null
private var sourceField: Output? = null
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value The name of the header to send on to the destination
*/
@JvmName("qfmciuquolksybho")
public suspend fun headerName(`value`: Output) {
this.headerName = value
}
/**
* @param value True if the `value` is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
*/
@JvmName("dhwrtlmuuotrlbvt")
public suspend fun secret(`value`: Output) {
this.secret = value
}
/**
* @param value If the `type` is `Dynamic`, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
*/
@JvmName("mgswngfpnfttiirk")
public suspend fun sourceField(`value`: Output) {
this.sourceField = value
}
/**
* @param value Either `Static` or `Dynamic`
*/
@JvmName("qjogdisrabrvgpfa")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value If the `type` is `Static`, then provide the value to use
*/
@JvmName("cxouugffvrxjjkqw")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The name of the header to send on to the destination
*/
@JvmName("vebeywxutwjtiwcf")
public suspend fun headerName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.headerName = mapped
}
/**
* @param value True if the `value` is a secret and should be protected, otherwise false. If True, then this value won't be returned from Azure API calls
*/
@JvmName("trfkkqbbacberysv")
public suspend fun secret(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secret = mapped
}
/**
* @param value If the `type` is `Dynamic`, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
*/
@JvmName("pqjqjujliyndwvfw")
public suspend fun sourceField(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceField = mapped
}
/**
* @param value Either `Static` or `Dynamic`
*/
@JvmName("vojesfeuiodtvwvv")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value If the `type` is `Static`, then provide the value to use
*/
@JvmName("gmmyedgyyrnarkdy")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): EventSubscriptionDeliveryPropertyArgs =
EventSubscriptionDeliveryPropertyArgs(
headerName = headerName ?: throw PulumiNullFieldException("headerName"),
secret = secret,
sourceField = sourceField,
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy