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

com.pulumi.azure.hdinsight.kotlin.inputs.HBaseClusterPrivateLinkConfigurationArgs.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.HBaseClusterPrivateLinkConfigurationArgs.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 HBaseClusterPrivateLinkConfigurationArgs(
    public val groupId: Output,
    public val ipConfiguration: Output,
    public val name: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.HBaseClusterPrivateLinkConfigurationArgs =
        com.pulumi.azure.hdinsight.inputs.HBaseClusterPrivateLinkConfigurationArgs.builder()
            .groupId(groupId.applyValue({ args0 -> args0 }))
            .ipConfiguration(ipConfiguration.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .name(name.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [HBaseClusterPrivateLinkConfigurationArgs].
 */
@PulumiTagMarker
public class HBaseClusterPrivateLinkConfigurationArgsBuilder 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("pexehdouukqxshqi")
    public suspend fun groupId(`value`: Output) {
        this.groupId = value
    }

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

    /**
     * @param value The name of the private link configuration.
     */
    @JvmName("fmibvjgahubquuks")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The ID of the private link service group.
     */
    @JvmName("gdjfdhsgciongnut")
    public suspend fun groupId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.groupId = mapped
    }

    /**
     * @param value
     */
    @JvmName("flfkaohprddnnhvs")
    public suspend
    fun ipConfiguration(`value`: HBaseClusterPrivateLinkConfigurationIpConfigurationArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipConfiguration = mapped
    }

    /**
     * @param argument
     */
    @JvmName("xleuwwhjmgsggdki")
    public suspend
    fun ipConfiguration(argument: suspend HBaseClusterPrivateLinkConfigurationIpConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = HBaseClusterPrivateLinkConfigurationIpConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.ipConfiguration = mapped
    }

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

    internal fun build(): HBaseClusterPrivateLinkConfigurationArgs =
        HBaseClusterPrivateLinkConfigurationArgs(
            groupId = groupId ?: throw PulumiNullFieldException("groupId"),
            ipConfiguration = ipConfiguration ?: throw PulumiNullFieldException("ipConfiguration"),
            name = name ?: throw PulumiNullFieldException("name"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy