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

com.pulumi.azurenative.appplatform.kotlin.inputs.StackPropertiesArgs.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.appplatform.kotlin.inputs

import com.pulumi.azurenative.appplatform.inputs.StackPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * KPack ClusterStack properties payload
 * @property id Id of the ClusterStack.
 * @property version Version of the ClusterStack
 */
public data class StackPropertiesArgs(
    public val id: Output? = null,
    public val version: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.appplatform.inputs.StackPropertiesArgs =
        com.pulumi.azurenative.appplatform.inputs.StackPropertiesArgs.builder()
            .id(id?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StackPropertiesArgs].
 */
@PulumiTagMarker
public class StackPropertiesArgsBuilder internal constructor() {
    private var id: Output? = null

    private var version: Output? = null

    /**
     * @param value Id of the ClusterStack.
     */
    @JvmName("rtpkrwldjroldtrt")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value Version of the ClusterStack
     */
    @JvmName("jpiqwddyyukgjfte")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value Id of the ClusterStack.
     */
    @JvmName("rptgnabnqykrfhnx")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value Version of the ClusterStack
     */
    @JvmName("iqhfgsltqmlokevh")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): StackPropertiesArgs = StackPropertiesArgs(
        id = id,
        version = version,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy