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

com.pulumi.gcp.container.kotlin.inputs.ClusterEnableK8sBetaApisArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.container.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.ClusterEnableK8sBetaApisArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property enabledApis Enabled Kubernetes Beta APIs.
 */
public data class ClusterEnableK8sBetaApisArgs(
    public val enabledApis: Output>,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.ClusterEnableK8sBetaApisArgs =
        com.pulumi.gcp.container.inputs.ClusterEnableK8sBetaApisArgs.builder()
            .enabledApis(enabledApis.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ClusterEnableK8sBetaApisArgs].
 */
@PulumiTagMarker
public class ClusterEnableK8sBetaApisArgsBuilder internal constructor() {
    private var enabledApis: Output>? = null

    /**
     * @param value Enabled Kubernetes Beta APIs.
     */
    @JvmName("khkfhdmxruywtxlh")
    public suspend fun enabledApis(`value`: Output>) {
        this.enabledApis = value
    }

    @JvmName("hpconksxuxvybpfc")
    public suspend fun enabledApis(vararg values: Output) {
        this.enabledApis = Output.all(values.asList())
    }

    /**
     * @param values Enabled Kubernetes Beta APIs.
     */
    @JvmName("qaiqbqvfyfnrddvp")
    public suspend fun enabledApis(values: List>) {
        this.enabledApis = Output.all(values)
    }

    /**
     * @param value Enabled Kubernetes Beta APIs.
     */
    @JvmName("nbgytwlfsngyomon")
    public suspend fun enabledApis(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.enabledApis = mapped
    }

    /**
     * @param values Enabled Kubernetes Beta APIs.
     */
    @JvmName("yupdxehqdianadyk")
    public suspend fun enabledApis(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.enabledApis = mapped
    }

    internal fun build(): ClusterEnableK8sBetaApisArgs = ClusterEnableK8sBetaApisArgs(
        enabledApis = enabledApis ?: throw PulumiNullFieldException("enabledApis"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy