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

@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 management Set this field to MANAGEMENT_AUTOMATIC to enable Config Sync auto-upgrades, and set this field to MANAGEMENT_MANUAL or MANAGEMENT_UNSPECIFIED to disable Config Sync auto-upgrades.
 * Possible values are: `MANAGEMENT_UNSPECIFIED`, `MANAGEMENT_AUTOMATIC`, `MANAGEMENT_MANUAL`.
 * @property version Version of Config Sync installed
 */
public data class FeatureFleetDefaultMemberConfigConfigmanagementArgs(
    public val configSync: Output? =
        null,
    public val management: 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() }) }))
            .management(management?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

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

    private var management: Output? = null

    private var version: Output? = null

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

    /**
     * @param value Set this field to MANAGEMENT_AUTOMATIC to enable Config Sync auto-upgrades, and set this field to MANAGEMENT_MANUAL or MANAGEMENT_UNSPECIFIED to disable Config Sync auto-upgrades.
     * Possible values are: `MANAGEMENT_UNSPECIFIED`, `MANAGEMENT_AUTOMATIC`, `MANAGEMENT_MANUAL`.
     */
    @JvmName("kmvymckfagdfkyho")
    public suspend fun management(`value`: Output) {
        this.management = value
    }

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

    /**
     * @param value ConfigSync configuration for the cluster
     * Structure is documented below.
     */
    @JvmName("iruefrcqevxehuia")
    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("fcxcvrurihcsxyjq")
    public suspend fun configSync(argument: suspend FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgsBuilder.() -> Unit) {
        val toBeMapped =
            FeatureFleetDefaultMemberConfigConfigmanagementConfigSyncArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.configSync = mapped
    }

    /**
     * @param value Set this field to MANAGEMENT_AUTOMATIC to enable Config Sync auto-upgrades, and set this field to MANAGEMENT_MANUAL or MANAGEMENT_UNSPECIFIED to disable Config Sync auto-upgrades.
     * Possible values are: `MANAGEMENT_UNSPECIFIED`, `MANAGEMENT_AUTOMATIC`, `MANAGEMENT_MANUAL`.
     */
    @JvmName("yuqoyyqrfmpxkfrx")
    public suspend fun management(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.management = mapped
    }

    /**
     * @param value Version of Config Sync installed
     */
    @JvmName("tebopdurkmduowqe")
    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,
            management = management,
            version = version,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy