com.pulumi.azure.eventgrid.kotlin.inputs.SystemTopicEventSubscriptionDeliveryPropertyArgs.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.SystemTopicEventSubscriptionDeliveryPropertyArgs.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 Set to `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 SystemTopicEventSubscriptionDeliveryPropertyArgs(
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.SystemTopicEventSubscriptionDeliveryPropertyArgs =
com.pulumi.azure.eventgrid.inputs.SystemTopicEventSubscriptionDeliveryPropertyArgs.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 [SystemTopicEventSubscriptionDeliveryPropertyArgs].
*/
@PulumiTagMarker
public class SystemTopicEventSubscriptionDeliveryPropertyArgsBuilder 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("ysegywllpcpxdomo")
public suspend fun headerName(`value`: Output) {
this.headerName = value
}
/**
* @param value Set to `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("vngtpplcwwvcwgsw")
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("vuuykeetcuxbfybb")
public suspend fun sourceField(`value`: Output) {
this.sourceField = value
}
/**
* @param value Either `Static` or `Dynamic`.
*/
@JvmName("gqchrexcobupasjf")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value If the `type` is `Static`, then provide the value to use.
*/
@JvmName("idgdhiheymlewgck")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The name of the header to send on to the destination.
*/
@JvmName("pborhrscsgexcxpp")
public suspend fun headerName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.headerName = mapped
}
/**
* @param value Set to `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("nbbmatmklyxlkcxm")
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("pwvhorthlatflwkt")
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("woiuhwscssnqkjlj")
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("nxmtvujveruhasjd")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): SystemTopicEventSubscriptionDeliveryPropertyArgs =
SystemTopicEventSubscriptionDeliveryPropertyArgs(
headerName = headerName ?: throw PulumiNullFieldException("headerName"),
secret = secret,
sourceField = sourceField,
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy