com.pulumi.azure.hdinsight.kotlin.inputs.SparkClusterPrivateLinkConfigurationArgs.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.hdinsight.kotlin.inputs
import com.pulumi.azure.hdinsight.inputs.SparkClusterPrivateLinkConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property groupId The ID of the private link service group.
* @property ipConfiguration
* @property name The name of the private link configuration.
*/
public data class SparkClusterPrivateLinkConfigurationArgs(
public val groupId: Output,
public val ipConfiguration: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hdinsight.inputs.SparkClusterPrivateLinkConfigurationArgs =
com.pulumi.azure.hdinsight.inputs.SparkClusterPrivateLinkConfigurationArgs.builder()
.groupId(groupId.applyValue({ args0 -> args0 }))
.ipConfiguration(ipConfiguration.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SparkClusterPrivateLinkConfigurationArgs].
*/
@PulumiTagMarker
public class SparkClusterPrivateLinkConfigurationArgsBuilder internal constructor() {
private var groupId: Output? = null
private var ipConfiguration: Output? =
null
private var name: Output? = null
/**
* @param value The ID of the private link service group.
*/
@JvmName("pxllfbbiyyvolhdt")
public suspend fun groupId(`value`: Output) {
this.groupId = value
}
/**
* @param value
*/
@JvmName("tjwvfthlshvqjdtm")
public suspend
fun ipConfiguration(`value`: Output) {
this.ipConfiguration = value
}
/**
* @param value The name of the private link configuration.
*/
@JvmName("owxbeamhsdyoattd")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ID of the private link service group.
*/
@JvmName("dildghdwypxirwfg")
public suspend fun groupId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.groupId = mapped
}
/**
* @param value
*/
@JvmName("djvwkvsgxyexgqnr")
public suspend
fun ipConfiguration(`value`: SparkClusterPrivateLinkConfigurationIpConfigurationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ipConfiguration = mapped
}
/**
* @param argument
*/
@JvmName("phybsltnfhdskgks")
public suspend
fun ipConfiguration(argument: suspend SparkClusterPrivateLinkConfigurationIpConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = SparkClusterPrivateLinkConfigurationIpConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.ipConfiguration = mapped
}
/**
* @param value The name of the private link configuration.
*/
@JvmName("avckeyjrrggyqrnd")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): SparkClusterPrivateLinkConfigurationArgs =
SparkClusterPrivateLinkConfigurationArgs(
groupId = groupId ?: throw PulumiNullFieldException("groupId"),
ipConfiguration = ipConfiguration ?: throw PulumiNullFieldException("ipConfiguration"),
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy