
com.pulumi.azure.eventgrid.kotlin.inputs.EventSubscriptionStorageBlobDeadLetterDestinationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.eventgrid.kotlin.inputs
import com.pulumi.azure.eventgrid.inputs.EventSubscriptionStorageBlobDeadLetterDestinationArgs.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 storageAccountId Specifies the id of the storage account id where the storage blob is located.
* @property storageBlobContainerName Specifies the name of the Storage blob container that is the destination of the deadletter events.
*/
public data class EventSubscriptionStorageBlobDeadLetterDestinationArgs(
public val storageAccountId: Output,
public val storageBlobContainerName: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.eventgrid.inputs.EventSubscriptionStorageBlobDeadLetterDestinationArgs =
com.pulumi.azure.eventgrid.inputs.EventSubscriptionStorageBlobDeadLetterDestinationArgs.builder()
.storageAccountId(storageAccountId.applyValue({ args0 -> args0 }))
.storageBlobContainerName(storageBlobContainerName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventSubscriptionStorageBlobDeadLetterDestinationArgs].
*/
@PulumiTagMarker
public class EventSubscriptionStorageBlobDeadLetterDestinationArgsBuilder internal constructor() {
private var storageAccountId: Output? = null
private var storageBlobContainerName: Output? = null
/**
* @param value Specifies the id of the storage account id where the storage blob is located.
*/
@JvmName("njilrwyehogshjgs")
public suspend fun storageAccountId(`value`: Output) {
this.storageAccountId = value
}
/**
* @param value Specifies the name of the Storage blob container that is the destination of the deadletter events.
*/
@JvmName("cppijhcotmagqofy")
public suspend fun storageBlobContainerName(`value`: Output) {
this.storageBlobContainerName = value
}
/**
* @param value Specifies the id of the storage account id where the storage blob is located.
*/
@JvmName("hyllqxtjkdaqoatx")
public suspend fun storageAccountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.storageAccountId = mapped
}
/**
* @param value Specifies the name of the Storage blob container that is the destination of the deadletter events.
*/
@JvmName("xeauvgdgofsbpvew")
public suspend fun storageBlobContainerName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.storageBlobContainerName = mapped
}
internal fun build(): EventSubscriptionStorageBlobDeadLetterDestinationArgs =
EventSubscriptionStorageBlobDeadLetterDestinationArgs(
storageAccountId = storageAccountId ?: throw PulumiNullFieldException("storageAccountId"),
storageBlobContainerName = storageBlobContainerName ?: throw
PulumiNullFieldException("storageBlobContainerName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy