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

com.pulumi.azure.hdinsight.kotlin.inputs.SparkClusterNetworkArgs.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.SparkClusterNetworkArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property connectionDirection The direction of the resource provider connection. Possible values include `Inbound` or `Outbound`. Defaults to `Inbound`. Changing this forces a new resource to be created.
 * > **NOTE:** To enabled the private link the `connection_direction` must be set to `Outbound`.
 * @property privateLinkEnabled Is the private link enabled? Possible values include `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
 */
public data class SparkClusterNetworkArgs(
    public val connectionDirection: Output? = null,
    public val privateLinkEnabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.SparkClusterNetworkArgs =
        com.pulumi.azure.hdinsight.inputs.SparkClusterNetworkArgs.builder()
            .connectionDirection(connectionDirection?.applyValue({ args0 -> args0 }))
            .privateLinkEnabled(privateLinkEnabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SparkClusterNetworkArgs].
 */
@PulumiTagMarker
public class SparkClusterNetworkArgsBuilder internal constructor() {
    private var connectionDirection: Output? = null

    private var privateLinkEnabled: Output? = null

    /**
     * @param value The direction of the resource provider connection. Possible values include `Inbound` or `Outbound`. Defaults to `Inbound`. Changing this forces a new resource to be created.
     * > **NOTE:** To enabled the private link the `connection_direction` must be set to `Outbound`.
     */
    @JvmName("whqwkaweqxhoknav")
    public suspend fun connectionDirection(`value`: Output) {
        this.connectionDirection = value
    }

    /**
     * @param value Is the private link enabled? Possible values include `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
     */
    @JvmName("jovyvshsgvmrjkmo")
    public suspend fun privateLinkEnabled(`value`: Output) {
        this.privateLinkEnabled = value
    }

    /**
     * @param value The direction of the resource provider connection. Possible values include `Inbound` or `Outbound`. Defaults to `Inbound`. Changing this forces a new resource to be created.
     * > **NOTE:** To enabled the private link the `connection_direction` must be set to `Outbound`.
     */
    @JvmName("llyrenuvrjvhxhkn")
    public suspend fun connectionDirection(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.connectionDirection = mapped
    }

    /**
     * @param value Is the private link enabled? Possible values include `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
     */
    @JvmName("mvdmpwcbibuewsed")
    public suspend fun privateLinkEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateLinkEnabled = mapped
    }

    internal fun build(): SparkClusterNetworkArgs = SparkClusterNetworkArgs(
        connectionDirection = connectionDirection,
        privateLinkEnabled = privateLinkEnabled,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy