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

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

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

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

import com.pulumi.azure.eventhub.inputs.GetAuthorizationRulePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getAuthorizationRule.
 * @property eventhubName Specifies the name of the EventHub.
 * @property listen
 * @property manage
 * @property name Specifies the name of the EventHub Authorization Rule resource. be created.
 * @property namespaceName Specifies the name of the grandparent EventHub Namespace.
 * @property resourceGroupName The name of the resource group in which the EventHub Authorization Rule's grandparent Namespace exists.
 * @property send
 */
public data class GetAuthorizationRulePlainArgs(
    public val eventhubName: String,
    public val listen: Boolean? = null,
    public val manage: Boolean? = null,
    public val name: String,
    public val namespaceName: String,
    public val resourceGroupName: String,
    public val send: Boolean? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.eventhub.inputs.GetAuthorizationRulePlainArgs =
        com.pulumi.azure.eventhub.inputs.GetAuthorizationRulePlainArgs.builder()
            .eventhubName(eventhubName.let({ args0 -> args0 }))
            .listen(listen?.let({ args0 -> args0 }))
            .manage(manage?.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 }))
            .namespaceName(namespaceName.let({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
            .send(send?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAuthorizationRulePlainArgs].
 */
@PulumiTagMarker
public class GetAuthorizationRulePlainArgsBuilder internal constructor() {
    private var eventhubName: String? = null

    private var listen: Boolean? = null

    private var manage: Boolean? = null

    private var name: String? = null

    private var namespaceName: String? = null

    private var resourceGroupName: String? = null

    private var send: Boolean? = null

    /**
     * @param value Specifies the name of the EventHub.
     */
    @JvmName("coqlkwujlktacema")
    public suspend fun eventhubName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.eventhubName = mapped
    }

    /**
     * @param value
     */
    @JvmName("knvvahhutmhxfotu")
    public suspend fun listen(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.listen = mapped
    }

    /**
     * @param value
     */
    @JvmName("qjcinicycdsphlep")
    public suspend fun manage(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.manage = mapped
    }

    /**
     * @param value Specifies the name of the EventHub Authorization Rule resource. be created.
     */
    @JvmName("gxnvysicogocxhwe")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    /**
     * @param value Specifies the name of the grandparent EventHub Namespace.
     */
    @JvmName("mndjtvycqswfxkrc")
    public suspend fun namespaceName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.namespaceName = mapped
    }

    /**
     * @param value The name of the resource group in which the EventHub Authorization Rule's grandparent Namespace exists.
     */
    @JvmName("wdykdkewuylcuock")
    public suspend fun resourceGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    /**
     * @param value
     */
    @JvmName("mvwqkqirthalhoum")
    public suspend fun send(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.send = mapped
    }

    internal fun build(): GetAuthorizationRulePlainArgs = GetAuthorizationRulePlainArgs(
        eventhubName = eventhubName ?: throw PulumiNullFieldException("eventhubName"),
        listen = listen,
        manage = manage,
        name = name ?: throw PulumiNullFieldException("name"),
        namespaceName = namespaceName ?: throw PulumiNullFieldException("namespaceName"),
        resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
        send = send,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy