All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.eventhub.kotlin.inputs.EventSubscriptionStorageBlobDeadLetterDestinationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.eventhub.kotlin.inputs

import com.pulumi.azure.eventhub.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.eventhub.inputs.EventSubscriptionStorageBlobDeadLetterDestinationArgs =
        com.pulumi.azure.eventhub.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("vvkgxksoyawifqja")
    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("lkaqbhaueeukjrmh")
    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("cftcklpvbeunuxwc")
    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("notgrsibsbmxhnqr")
    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