![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.eventhub.kotlin.inputs.GetConsumeGroupPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.eventhub.kotlin.inputs
import com.pulumi.azure.eventhub.inputs.GetConsumeGroupPlainArgs.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
/**
* A collection of arguments for invoking getConsumeGroup.
* @property eventhubName Specifies the name of the EventHub.
* @property name Specifies the name of the EventHub Consumer Group resource.
* @property namespaceName Specifies the name of the grandparent EventHub Namespace.
* @property resourceGroupName The name of the resource group in which the EventHub Consumer Group's grandparent Namespace exists.
*/
public data class GetConsumeGroupPlainArgs(
public val eventhubName: String,
public val name: String,
public val namespaceName: String,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.eventhub.inputs.GetConsumeGroupPlainArgs =
com.pulumi.azure.eventhub.inputs.GetConsumeGroupPlainArgs.builder()
.eventhubName(eventhubName.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.namespaceName(namespaceName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetConsumeGroupPlainArgs].
*/
@PulumiTagMarker
public class GetConsumeGroupPlainArgsBuilder internal constructor() {
private var eventhubName: String? = null
private var name: String? = null
private var namespaceName: String? = null
private var resourceGroupName: String? = null
/**
* @param value Specifies the name of the EventHub.
*/
@JvmName("jdqlaybydhrknupw")
public suspend fun eventhubName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.eventhubName = mapped
}
/**
* @param value Specifies the name of the EventHub Consumer Group resource.
*/
@JvmName("uulmntskaaphauxb")
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("isexittgjyxbiwfj")
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 Consumer Group's grandparent Namespace exists.
*/
@JvmName("ffvlnojlqulnixjs")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetConsumeGroupPlainArgs = GetConsumeGroupPlainArgs(
eventhubName = eventhubName ?: throw PulumiNullFieldException("eventhubName"),
name = name ?: throw PulumiNullFieldException("name"),
namespaceName = namespaceName ?: throw PulumiNullFieldException("namespaceName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy