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

com.pulumi.azurenative.insights.kotlin.inputs.DataImportSourcesEventHubArgs.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.insights.kotlin.inputs

import com.pulumi.azurenative.insights.inputs.DataImportSourcesEventHubArgs.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

/**
 * Definition of Event Hub configuration.
 * @property consumerGroup Event Hub consumer group name
 * @property name A friendly name for the data source.
 * This name should be unique across all data sources (regardless of type) within the data collection rule.
 * @property stream The stream to collect from EventHub
 */
public data class DataImportSourcesEventHubArgs(
    public val consumerGroup: Output? = null,
    public val name: Output? = null,
    public val stream: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.insights.inputs.DataImportSourcesEventHubArgs =
        com.pulumi.azurenative.insights.inputs.DataImportSourcesEventHubArgs.builder()
            .consumerGroup(consumerGroup?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .stream(stream?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataImportSourcesEventHubArgs].
 */
@PulumiTagMarker
public class DataImportSourcesEventHubArgsBuilder internal constructor() {
    private var consumerGroup: Output? = null

    private var name: Output? = null

    private var stream: Output? = null

    /**
     * @param value Event Hub consumer group name
     */
    @JvmName("plncbbjfnprllynx")
    public suspend fun consumerGroup(`value`: Output) {
        this.consumerGroup = value
    }

    /**
     * @param value A friendly name for the data source.
     * This name should be unique across all data sources (regardless of type) within the data collection rule.
     */
    @JvmName("rbcgqlcbuslbdstn")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The stream to collect from EventHub
     */
    @JvmName("dlkijwvqqqksijhx")
    public suspend fun stream(`value`: Output) {
        this.stream = value
    }

    /**
     * @param value Event Hub consumer group name
     */
    @JvmName("psmeoadvrxlqfxxh")
    public suspend fun consumerGroup(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.consumerGroup = mapped
    }

    /**
     * @param value A friendly name for the data source.
     * This name should be unique across all data sources (regardless of type) within the data collection rule.
     */
    @JvmName("jiialxppmhwseipd")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The stream to collect from EventHub
     */
    @JvmName("atfbbesuejlnmohe")
    public suspend fun stream(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stream = mapped
    }

    internal fun build(): DataImportSourcesEventHubArgs = DataImportSourcesEventHubArgs(
        consumerGroup = consumerGroup,
        name = name,
        stream = stream,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy