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

com.pulumi.gcp.container.kotlin.inputs.ClusterReleaseChannelArgs.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.ClusterReleaseChannelArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property channel The selected release channel.
 * Accepted values are:
 * * UNSPECIFIED: Not set.
 * * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
 * * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
 * * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
 */
public data class ClusterReleaseChannelArgs(
    public val channel: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.ClusterReleaseChannelArgs =
        com.pulumi.gcp.container.inputs.ClusterReleaseChannelArgs.builder()
            .channel(channel.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterReleaseChannelArgs].
 */
@PulumiTagMarker
public class ClusterReleaseChannelArgsBuilder internal constructor() {
    private var channel: Output? = null

    /**
     * @param value The selected release channel.
     * Accepted values are:
     * * UNSPECIFIED: Not set.
     * * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
     * * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
     * * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
     */
    @JvmName("ehuthcknqovtndyk")
    public suspend fun channel(`value`: Output) {
        this.channel = value
    }

    /**
     * @param value The selected release channel.
     * Accepted values are:
     * * UNSPECIFIED: Not set.
     * * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
     * * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
     * * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
     */
    @JvmName("ykuoscpeapoaqejo")
    public suspend fun channel(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.channel = mapped
    }

    internal fun build(): ClusterReleaseChannelArgs = ClusterReleaseChannelArgs(
        channel = channel ?: throw PulumiNullFieldException("channel"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy