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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureSpecArgs.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.gkehub.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkehub.inputs.FeatureSpecArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property clusterupgrade Clusterupgrade feature spec.
 * Structure is documented below.
 * @property fleetobservability Fleet Observability feature spec.
 * Structure is documented below.
 * @property multiclusteringress Multicluster Ingress-specific spec.
 * Structure is documented below.
 */
public data class FeatureSpecArgs(
    public val clusterupgrade: Output? = null,
    public val fleetobservability: Output? = null,
    public val multiclusteringress: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureSpecArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureSpecArgs.builder()
            .clusterupgrade(clusterupgrade?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fleetobservability(
                fleetobservability?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .multiclusteringress(
                multiclusteringress?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [FeatureSpecArgs].
 */
@PulumiTagMarker
public class FeatureSpecArgsBuilder internal constructor() {
    private var clusterupgrade: Output? = null

    private var fleetobservability: Output? = null

    private var multiclusteringress: Output? = null

    /**
     * @param value Clusterupgrade feature spec.
     * Structure is documented below.
     */
    @JvmName("jrsasmufkvjkcwxe")
    public suspend fun clusterupgrade(`value`: Output) {
        this.clusterupgrade = value
    }

    /**
     * @param value Fleet Observability feature spec.
     * Structure is documented below.
     */
    @JvmName("knbqlmsbjnfkoqax")
    public suspend fun fleetobservability(`value`: Output) {
        this.fleetobservability = value
    }

    /**
     * @param value Multicluster Ingress-specific spec.
     * Structure is documented below.
     */
    @JvmName("rhyjiqqijmwyuyai")
    public suspend fun multiclusteringress(`value`: Output) {
        this.multiclusteringress = value
    }

    /**
     * @param value Clusterupgrade feature spec.
     * Structure is documented below.
     */
    @JvmName("crspwhyotgtmrrbg")
    public suspend fun clusterupgrade(`value`: FeatureSpecClusterupgradeArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterupgrade = mapped
    }

    /**
     * @param argument Clusterupgrade feature spec.
     * Structure is documented below.
     */
    @JvmName("upprevsgurttavnu")
    public suspend fun clusterupgrade(argument: suspend FeatureSpecClusterupgradeArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureSpecClusterupgradeArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.clusterupgrade = mapped
    }

    /**
     * @param value Fleet Observability feature spec.
     * Structure is documented below.
     */
    @JvmName("bhwixqotftppxuhc")
    public suspend fun fleetobservability(`value`: FeatureSpecFleetobservabilityArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fleetobservability = mapped
    }

    /**
     * @param argument Fleet Observability feature spec.
     * Structure is documented below.
     */
    @JvmName("cpxxqdnhickpmslj")
    public suspend fun fleetobservability(argument: suspend FeatureSpecFleetobservabilityArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureSpecFleetobservabilityArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fleetobservability = mapped
    }

    /**
     * @param value Multicluster Ingress-specific spec.
     * Structure is documented below.
     */
    @JvmName("neaiarotylhqryeb")
    public suspend fun multiclusteringress(`value`: FeatureSpecMulticlusteringressArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.multiclusteringress = mapped
    }

    /**
     * @param argument Multicluster Ingress-specific spec.
     * Structure is documented below.
     */
    @JvmName("nbohubfmljxnjkmg")
    public suspend fun multiclusteringress(argument: suspend FeatureSpecMulticlusteringressArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureSpecMulticlusteringressArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.multiclusteringress = mapped
    }

    internal fun build(): FeatureSpecArgs = FeatureSpecArgs(
        clusterupgrade = clusterupgrade,
        fleetobservability = fleetobservability,
        multiclusteringress = multiclusteringress,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy