com.pulumi.azure.webpubsub.kotlin.inputs.GetPrivateLinkResourcePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.webpubsub.kotlin.inputs
import com.pulumi.azure.webpubsub.inputs.GetPrivateLinkResourcePlainArgs.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 getPrivateLinkResource.
* @property webPubsubId The ID of an existing Web Pubsub Resource which Private Link Resource should be retrieved for.
*/
public data class GetPrivateLinkResourcePlainArgs(
public val webPubsubId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.webpubsub.inputs.GetPrivateLinkResourcePlainArgs =
com.pulumi.azure.webpubsub.inputs.GetPrivateLinkResourcePlainArgs.builder()
.webPubsubId(webPubsubId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetPrivateLinkResourcePlainArgs].
*/
@PulumiTagMarker
public class GetPrivateLinkResourcePlainArgsBuilder internal constructor() {
private var webPubsubId: String? = null
/**
* @param value The ID of an existing Web Pubsub Resource which Private Link Resource should be retrieved for.
*/
@JvmName("difxjnumwfwsabge")
public suspend fun webPubsubId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.webPubsubId = mapped
}
internal fun build(): GetPrivateLinkResourcePlainArgs = GetPrivateLinkResourcePlainArgs(
webPubsubId = webPubsubId ?: throw PulumiNullFieldException("webPubsubId"),
)
}