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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureFleetDefaultMemberConfigConfigmanagementArgs.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.FeatureFleetDefaultMemberConfigConfigmanagementArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property configSync ConfigSync configuration for the cluster
 * Structure is documented below.
 * @property version Version of ACM installed
 */
public data class FeatureFleetDefaultMemberConfigConfigmanagementArgs(
    public val configSync: Output? =
        null,
    public val version: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigConfigmanagementArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigConfigmanagementArgs.builder()
            .configSync(configSync?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FeatureFleetDefaultMemberConfigConfigmanagementArgs].
 */
@PulumiTagMarker
public class FeatureFleetDefaultMemberConfigConfigmanagementArgsBuilder internal constructor() {
    private var configSync: Output? =
        null

    private var version: Output? = null

    /**
     * @param value ConfigSync configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("cfadoabltimuhxgj")
    public suspend fun configSync(`value`: Output) {
        this.configSync = value
    }

    /**
     * @param value Version of ACM installed
     */
    @JvmName("ecyhfkjcsxrbysiu")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value ConfigSync configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("rgdtwdstahdeeqca")
    public suspend fun configSync(`value`: FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configSync = mapped
    }

    /**
     * @param argument ConfigSync configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("uuftigkgtypphcbq")
    public suspend fun configSync(argument: suspend FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgsBuilder.() -> Unit) {
        val toBeMapped =
            FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.configSync = mapped
    }

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

    internal fun build(): FeatureFleetDefaultMemberConfigConfigmanagementArgs =
        FeatureFleetDefaultMemberConfigConfigmanagementArgs(
            configSync = configSync,
            version = version,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy