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

com.pulumi.azurenative.eventhub.kotlin.inputs.DestinationArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.eventhub.kotlin.inputs

import com.pulumi.azurenative.eventhub.inputs.DestinationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Capture storage details for capture description
 * @property archiveNameFormat Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
 * @property blobContainer Blob container Name
 * @property dataLakeAccountName The Azure Data Lake Store name for the captured events
 * @property dataLakeFolderPath The destination folder path for the captured events
 * @property dataLakeSubscriptionId Subscription Id of Azure Data Lake Store
 * @property name Name for capture destination
 * @property storageAccountResourceId Resource id of the storage account to be used to create the blobs
 */
public data class DestinationArgs(
    public val archiveNameFormat: Output? = null,
    public val blobContainer: Output? = null,
    public val dataLakeAccountName: Output? = null,
    public val dataLakeFolderPath: Output? = null,
    public val dataLakeSubscriptionId: Output? = null,
    public val name: Output? = null,
    public val storageAccountResourceId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.eventhub.inputs.DestinationArgs =
        com.pulumi.azurenative.eventhub.inputs.DestinationArgs.builder()
            .archiveNameFormat(archiveNameFormat?.applyValue({ args0 -> args0 }))
            .blobContainer(blobContainer?.applyValue({ args0 -> args0 }))
            .dataLakeAccountName(dataLakeAccountName?.applyValue({ args0 -> args0 }))
            .dataLakeFolderPath(dataLakeFolderPath?.applyValue({ args0 -> args0 }))
            .dataLakeSubscriptionId(dataLakeSubscriptionId?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .storageAccountResourceId(storageAccountResourceId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DestinationArgs].
 */
@PulumiTagMarker
public class DestinationArgsBuilder internal constructor() {
    private var archiveNameFormat: Output? = null

    private var blobContainer: Output? = null

    private var dataLakeAccountName: Output? = null

    private var dataLakeFolderPath: Output? = null

    private var dataLakeSubscriptionId: Output? = null

    private var name: Output? = null

    private var storageAccountResourceId: Output? = null

    /**
     * @param value Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
     */
    @JvmName("wkplscllmxwshshi")
    public suspend fun archiveNameFormat(`value`: Output) {
        this.archiveNameFormat = value
    }

    /**
     * @param value Blob container Name
     */
    @JvmName("rgmfoddlxotaednj")
    public suspend fun blobContainer(`value`: Output) {
        this.blobContainer = value
    }

    /**
     * @param value The Azure Data Lake Store name for the captured events
     */
    @JvmName("jepvqgqbyyomrhsr")
    public suspend fun dataLakeAccountName(`value`: Output) {
        this.dataLakeAccountName = value
    }

    /**
     * @param value The destination folder path for the captured events
     */
    @JvmName("dqouiakbaqepyses")
    public suspend fun dataLakeFolderPath(`value`: Output) {
        this.dataLakeFolderPath = value
    }

    /**
     * @param value Subscription Id of Azure Data Lake Store
     */
    @JvmName("nibwsxaktjugfyss")
    public suspend fun dataLakeSubscriptionId(`value`: Output) {
        this.dataLakeSubscriptionId = value
    }

    /**
     * @param value Name for capture destination
     */
    @JvmName("idwayuyxqcrinxhc")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Resource id of the storage account to be used to create the blobs
     */
    @JvmName("hysyvqfmrwfxhdja")
    public suspend fun storageAccountResourceId(`value`: Output) {
        this.storageAccountResourceId = value
    }

    /**
     * @param value Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order
     */
    @JvmName("jtgtosmatxgbaeco")
    public suspend fun archiveNameFormat(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.archiveNameFormat = mapped
    }

    /**
     * @param value Blob container Name
     */
    @JvmName("ulmxiyhftuvbakmw")
    public suspend fun blobContainer(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.blobContainer = mapped
    }

    /**
     * @param value The Azure Data Lake Store name for the captured events
     */
    @JvmName("tjihwntilssnweum")
    public suspend fun dataLakeAccountName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLakeAccountName = mapped
    }

    /**
     * @param value The destination folder path for the captured events
     */
    @JvmName("yqyoymtobyborofb")
    public suspend fun dataLakeFolderPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLakeFolderPath = mapped
    }

    /**
     * @param value Subscription Id of Azure Data Lake Store
     */
    @JvmName("xdafmbqkrjwbpjfb")
    public suspend fun dataLakeSubscriptionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLakeSubscriptionId = mapped
    }

    /**
     * @param value Name for capture destination
     */
    @JvmName("odiqgevqvovfcwjh")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Resource id of the storage account to be used to create the blobs
     */
    @JvmName("copiokewlbpcrnjs")
    public suspend fun storageAccountResourceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageAccountResourceId = mapped
    }

    internal fun build(): DestinationArgs = DestinationArgs(
        archiveNameFormat = archiveNameFormat,
        blobContainer = blobContainer,
        dataLakeAccountName = dataLakeAccountName,
        dataLakeFolderPath = dataLakeFolderPath,
        dataLakeSubscriptionId = dataLakeSubscriptionId,
        name = name,
        storageAccountResourceId = storageAccountResourceId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy