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

com.pulumi.azure.notificationhub.kotlin.inputs.GetHubPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.notificationhub.kotlin.inputs

import com.pulumi.azure.notificationhub.inputs.GetHubPlainArgs.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 getHub.
 * @property name Specifies the Name of the Notification Hub.
 * @property namespaceName Specifies the Name of the Notification Hub Namespace which contains the Notification Hub.
 * @property resourceGroupName Specifies the Name of the Resource Group within which the Notification Hub exists.
 */
public data class GetHubPlainArgs(
    public val name: String,
    public val namespaceName: String,
    public val resourceGroupName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.notificationhub.inputs.GetHubPlainArgs =
        com.pulumi.azure.notificationhub.inputs.GetHubPlainArgs.builder()
            .name(name.let({ args0 -> args0 }))
            .namespaceName(namespaceName.let({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetHubPlainArgs].
 */
@PulumiTagMarker
public class GetHubPlainArgsBuilder internal constructor() {
    private var name: String? = null

    private var namespaceName: String? = null

    private var resourceGroupName: String? = null

    /**
     * @param value Specifies the Name of the Notification Hub.
     */
    @JvmName("lerewmvcshwvgutn")
    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 Notification Hub Namespace which contains the Notification Hub.
     */
    @JvmName("oststdjpcbvugfrn")
    public suspend fun namespaceName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.namespaceName = mapped
    }

    /**
     * @param value Specifies the Name of the Resource Group within which the Notification Hub exists.
     */
    @JvmName("nvcwgqkiqswkijsf")
    public suspend fun resourceGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    internal fun build(): GetHubPlainArgs = GetHubPlainArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        namespaceName = namespaceName ?: throw PulumiNullFieldException("namespaceName"),
        resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy