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

com.pulumi.azure.hdinsight.kotlin.inputs.InteractiveQueryClusterPrivateLinkConfigurationIpConfigurationArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterPrivateLinkConfigurationIpConfigurationArgs.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 Interactive Query Cluster. Changing this forces a new resource to be created.
 * @property primary Indicates whether this IP configuration is primary.
 * @property privateIpAddress The private IP address of the IP configuration.
 * @property privateIpAllocationMethod The private IP allocation method. The only possible value now is `Dynamic`.
 * @property subnetId
 */
public data class InteractiveQueryClusterPrivateLinkConfigurationIpConfigurationArgs(
    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.InteractiveQueryClusterPrivateLinkConfigurationIpConfigurationArgs =
        com.pulumi.azure.hdinsight.inputs.InteractiveQueryClusterPrivateLinkConfigurationIpConfigurationArgs.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 [InteractiveQueryClusterPrivateLinkConfigurationIpConfigurationArgs].
 */
@PulumiTagMarker
public class InteractiveQueryClusterPrivateLinkConfigurationIpConfigurationArgsBuilder 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 Interactive Query Cluster. Changing this forces a new resource to be created.
     */
    @JvmName("hlbuyfjbvdcfbtll")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Indicates whether this IP configuration is primary.
     */
    @JvmName("cvakjlnjrjmfhwpw")
    public suspend fun primary(`value`: Output) {
        this.primary = value
    }

    /**
     * @param value The private IP address of the IP configuration.
     */
    @JvmName("udanfkftqcasqycs")
    public suspend fun privateIpAddress(`value`: Output) {
        this.privateIpAddress = value
    }

    /**
     * @param value The private IP allocation method. The only possible value now is `Dynamic`.
     */
    @JvmName("ovtwlknrjwpclbcv")
    public suspend fun privateIpAllocationMethod(`value`: Output) {
        this.privateIpAllocationMethod = value
    }

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

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

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

    /**
     * @param value The private IP address of the IP configuration.
     */
    @JvmName("khaeiofrmayqmqer")
    public suspend fun privateIpAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAddress = mapped
    }

    /**
     * @param value The private IP allocation method. The only possible value now is `Dynamic`.
     */
    @JvmName("msfmqechqhgboefe")
    public suspend fun privateIpAllocationMethod(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAllocationMethod = mapped
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy