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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.hdinsight.inputs.HBaseClusterPrivateLinkConfigurationIpConfigurationArgs.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 HBase 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 HBaseClusterPrivateLinkConfigurationIpConfigurationArgs(
    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.HBaseClusterPrivateLinkConfigurationIpConfigurationArgs =
        com.pulumi.azure.hdinsight.inputs.HBaseClusterPrivateLinkConfigurationIpConfigurationArgs.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 [HBaseClusterPrivateLinkConfigurationIpConfigurationArgs].
 */
@PulumiTagMarker
public class HBaseClusterPrivateLinkConfigurationIpConfigurationArgsBuilder 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 HBase Cluster. Changing this forces a new resource to be created.
     */
    @JvmName("rrvmjlvfqgtobnyo")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

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

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

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

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

    /**
     * @param value Specifies the name for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
     */
    @JvmName("xmifogtitvudbpqj")
    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("lhapqvxbaxmujytx")
    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("hspepvqhhkjavill")
    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("ikdpkdchxlyfbyah")
    public suspend fun privateIpAllocationMethod(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAllocationMethod = mapped
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy