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

com.pulumi.azure.hdinsight.kotlin.inputs.HadoopClusterPrivateLinkConfigurationIpConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.hdinsight.kotlin.inputs

import com.pulumi.azure.hdinsight.inputs.HadoopClusterPrivateLinkConfigurationIpConfigurationArgs.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 Hadoop Cluster. Changing this forces a new resource to be created.
 * @property primary
 * @property privateIpAddress
 * @property privateIpAllocationMethod
 * @property subnetId
 */
public data class HadoopClusterPrivateLinkConfigurationIpConfigurationArgs(
    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.HadoopClusterPrivateLinkConfigurationIpConfigurationArgs =
        com.pulumi.azure.hdinsight.inputs.HadoopClusterPrivateLinkConfigurationIpConfigurationArgs.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 [HadoopClusterPrivateLinkConfigurationIpConfigurationArgs].
 */
@PulumiTagMarker
public class HadoopClusterPrivateLinkConfigurationIpConfigurationArgsBuilder 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 Hadoop Cluster. Changing this forces a new resource to be created.
     */
    @JvmName("tjafomekcevtqjyx")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("qpbkgljfiwjoyjgk")
    public suspend fun primary(`value`: Output) {
        this.primary = value
    }

    /**
     * @param value
     */
    @JvmName("mkryguvhlqqjpbrc")
    public suspend fun privateIpAddress(`value`: Output) {
        this.privateIpAddress = value
    }

    /**
     * @param value
     */
    @JvmName("yfxyyugfkrnhboff")
    public suspend fun privateIpAllocationMethod(`value`: Output) {
        this.privateIpAllocationMethod = value
    }

    /**
     * @param value
     */
    @JvmName("nywhtsmaxtvlgkhb")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

    /**
     * @param value Specifies the name for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
     */
    @JvmName("wkvafdfdfkwxdaso")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value
     */
    @JvmName("tpwsfrbrhjorrvts")
    public suspend fun primary(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primary = mapped
    }

    /**
     * @param value
     */
    @JvmName("cusrrlekrwjoutae")
    public suspend fun privateIpAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAddress = mapped
    }

    /**
     * @param value
     */
    @JvmName("nrjhbefmltwkgjxm")
    public suspend fun privateIpAllocationMethod(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAllocationMethod = mapped
    }

    /**
     * @param value
     */
    @JvmName("wrdtddcalhbgmuym")
    public suspend fun subnetId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

    internal fun build(): HadoopClusterPrivateLinkConfigurationIpConfigurationArgs =
        HadoopClusterPrivateLinkConfigurationIpConfigurationArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            primary = primary,
            privateIpAddress = privateIpAddress,
            privateIpAllocationMethod = privateIpAllocationMethod,
            subnetId = subnetId,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy