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

com.pulumi.azurenative.timeseriesinsights.kotlin.inputs.GetIoTHubEventSourcePlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.timeseriesinsights.kotlin.inputs

import com.pulumi.azurenative.timeseriesinsights.inputs.GetIoTHubEventSourcePlainArgs.builder
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 environmentName The name of the Time Series Insights environment associated with the specified resource group.
 * @property eventSourceName The name of the Time Series Insights event source associated with the specified environment.
 * @property resourceGroupName Name of an Azure Resource group.
 */
public data class GetIoTHubEventSourcePlainArgs(
    public val environmentName: String,
    public val eventSourceName: String,
    public val resourceGroupName: String,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.timeseriesinsights.inputs.GetIoTHubEventSourcePlainArgs =
        com.pulumi.azurenative.timeseriesinsights.inputs.GetIoTHubEventSourcePlainArgs.builder()
            .environmentName(environmentName.let({ args0 -> args0 }))
            .eventSourceName(eventSourceName.let({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetIoTHubEventSourcePlainArgs].
 */
@PulumiTagMarker
public class GetIoTHubEventSourcePlainArgsBuilder internal constructor() {
    private var environmentName: String? = null

    private var eventSourceName: String? = null

    private var resourceGroupName: String? = null

    /**
     * @param value The name of the Time Series Insights environment associated with the specified resource group.
     */
    @JvmName("ywndpjrprtwdqeyx")
    public suspend fun environmentName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.environmentName = mapped
    }

    /**
     * @param value The name of the Time Series Insights event source associated with the specified environment.
     */
    @JvmName("sbsjklsdmplabyqo")
    public suspend fun eventSourceName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.eventSourceName = mapped
    }

    /**
     * @param value Name of an Azure Resource group.
     */
    @JvmName("odhocecindqqnaqr")
    public suspend fun resourceGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    internal fun build(): GetIoTHubEventSourcePlainArgs = GetIoTHubEventSourcePlainArgs(
        environmentName = environmentName ?: throw PulumiNullFieldException("environmentName"),
        eventSourceName = eventSourceName ?: throw PulumiNullFieldException("eventSourceName"),
        resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy