com.pulumi.azure.hdinsight.kotlin.inputs.KafkaClusterPrivateLinkConfigurationIpConfigurationArgs.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.KafkaClusterPrivateLinkConfigurationIpConfigurationArgs.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 kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
* @property primary
* @property privateIpAddress
* @property privateIpAllocationMethod
* @property subnetId
*/
public data class KafkaClusterPrivateLinkConfigurationIpConfigurationArgs(
public val name: Output,
public val primary: Output? = null,
public val privateIpAddress: Output? = null,
public val privateIpAllocationMethod: Output? = null,
public val subnetId: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.hdinsight.inputs.KafkaClusterPrivateLinkConfigurationIpConfigurationArgs =
com.pulumi.azure.hdinsight.inputs.KafkaClusterPrivateLinkConfigurationIpConfigurationArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.primary(primary?.applyValue({ args0 -> args0 }))
.privateIpAddress(privateIpAddress?.applyValue({ args0 -> args0 }))
.privateIpAllocationMethod(privateIpAllocationMethod?.applyValue({ args0 -> args0 }))
.subnetId(subnetId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KafkaClusterPrivateLinkConfigurationIpConfigurationArgs].
*/
@PulumiTagMarker
public class KafkaClusterPrivateLinkConfigurationIpConfigurationArgsBuilder internal constructor() {
private var name: Output? = null
private var primary: Output? = null
private var privateIpAddress: Output? = null
private var privateIpAllocationMethod: Output? = null
private var subnetId: Output? = null
/**
* @param value Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
*/
@JvmName("mtduujjqshxvijlm")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("fqxygkdlscofywpf")
public suspend fun primary(`value`: Output) {
this.primary = value
}
/**
* @param value
*/
@JvmName("vyjfkkupqbxfexpy")
public suspend fun privateIpAddress(`value`: Output) {
this.privateIpAddress = value
}
/**
* @param value
*/
@JvmName("jvxptphasvvphgle")
public suspend fun privateIpAllocationMethod(`value`: Output) {
this.privateIpAllocationMethod = value
}
/**
* @param value
*/
@JvmName("xnramvtufiijiebh")
public suspend fun subnetId(`value`: Output) {
this.subnetId = value
}
/**
* @param value Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
*/
@JvmName("oqginyefgmejcnwd")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("adcjevniynpsbkrf")
public suspend fun primary(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primary = mapped
}
/**
* @param value
*/
@JvmName("erhcfqbhatacvvwi")
public suspend fun privateIpAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateIpAddress = mapped
}
/**
* @param value
*/
@JvmName("sxhdkpdoivnxeluk")
public suspend fun privateIpAllocationMethod(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.privateIpAllocationMethod = mapped
}
/**
* @param value
*/
@JvmName("wbxohqodiwhtcxyc")
public suspend fun subnetId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subnetId = mapped
}
internal fun build(): KafkaClusterPrivateLinkConfigurationIpConfigurationArgs =
KafkaClusterPrivateLinkConfigurationIpConfigurationArgs(
name = name ?: throw PulumiNullFieldException("name"),
primary = primary,
privateIpAddress = privateIpAddress,
privateIpAllocationMethod = privateIpAllocationMethod,
subnetId = subnetId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy