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

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

package com.pulumi.azurenative.hdinsight.kotlin.inputs

import com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * The cluster definition.
 * @property blueprint The link to the blueprint.
 * @property componentVersion The versions of different services in the cluster.
 * @property configurations The cluster configurations.
 * @property kind The type of cluster.
 */
public data class ClusterDefinitionArgs(
    public val blueprint: Output? = null,
    public val componentVersion: Output>? = null,
    public val configurations: Output? = null,
    public val kind: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs =
        com.pulumi.azurenative.hdinsight.inputs.ClusterDefinitionArgs.builder()
            .blueprint(blueprint?.applyValue({ args0 -> args0 }))
            .componentVersion(
                componentVersion?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .configurations(configurations?.applyValue({ args0 -> args0 }))
            .kind(kind?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterDefinitionArgs].
 */
@PulumiTagMarker
public class ClusterDefinitionArgsBuilder internal constructor() {
    private var blueprint: Output? = null

    private var componentVersion: Output>? = null

    private var configurations: Output? = null

    private var kind: Output? = null

    /**
     * @param value The link to the blueprint.
     */
    @JvmName("gqgxxlbfbqhurihj")
    public suspend fun blueprint(`value`: Output) {
        this.blueprint = value
    }

    /**
     * @param value The versions of different services in the cluster.
     */
    @JvmName("musjpayurhibxvpn")
    public suspend fun componentVersion(`value`: Output>) {
        this.componentVersion = value
    }

    /**
     * @param value The cluster configurations.
     */
    @JvmName("haodfuawqsroumkw")
    public suspend fun configurations(`value`: Output) {
        this.configurations = value
    }

    /**
     * @param value The type of cluster.
     */
    @JvmName("npyakkemrtbuwscg")
    public suspend fun kind(`value`: Output) {
        this.kind = value
    }

    /**
     * @param value The link to the blueprint.
     */
    @JvmName("edtsujmutryqfvbj")
    public suspend fun blueprint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.blueprint = mapped
    }

    /**
     * @param value The versions of different services in the cluster.
     */
    @JvmName("djhsaqxcokqpskld")
    public suspend fun componentVersion(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.componentVersion = mapped
    }

    /**
     * @param values The versions of different services in the cluster.
     */
    @JvmName("wmhaxwyoqpdvnbqo")
    public fun componentVersion(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.componentVersion = mapped
    }

    /**
     * @param value The cluster configurations.
     */
    @JvmName("gyexumrekyfqorjn")
    public suspend fun configurations(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configurations = mapped
    }

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

    internal fun build(): ClusterDefinitionArgs = ClusterDefinitionArgs(
        blueprint = blueprint,
        componentVersion = componentVersion,
        configurations = configurations,
        kind = kind,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy