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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureMembershipConfigmanagementArgs.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.FeatureMembershipConfigmanagementArgs.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 binauthz Binauthz configuration for the cluster. Structure is documented below.
 * @property configSync Config Sync configuration for the cluster. Structure is documented below.
 * @property hierarchyController Hierarchy Controller configuration for the cluster. Structure is documented below.
 * @property policyController Policy Controller configuration for the cluster. Structure is documented below.
 * @property version Version of ACM installed.
 */
public data class FeatureMembershipConfigmanagementArgs(
    public val binauthz: Output? = null,
    public val configSync: Output? = null,
    public val hierarchyController: Output? =
        null,
    public val policyController: Output? =
        null,
    public val version: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementArgs.builder()
            .binauthz(binauthz?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .configSync(configSync?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .hierarchyController(
                hierarchyController?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .policyController(policyController?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FeatureMembershipConfigmanagementArgs].
 */
@PulumiTagMarker
public class FeatureMembershipConfigmanagementArgsBuilder internal constructor() {
    private var binauthz: Output? = null

    private var configSync: Output? = null

    private var hierarchyController: Output? =
        null

    private var policyController: Output? =
        null

    private var version: Output? = null

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

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

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

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

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

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

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

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

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

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

    /**
     * @param argument Hierarchy Controller configuration for the cluster. Structure is documented below.
     */
    @JvmName("bgmokrosvkshphob")
    public suspend fun hierarchyController(argument: suspend FeatureMembershipConfigmanagementHierarchyControllerArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureMembershipConfigmanagementHierarchyControllerArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.hierarchyController = mapped
    }

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

    /**
     * @param argument Policy Controller configuration for the cluster. Structure is documented below.
     */
    @JvmName("gxkgnbglhrfjgfad")
    public suspend fun policyController(argument: suspend FeatureMembershipConfigmanagementPolicyControllerArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureMembershipConfigmanagementPolicyControllerArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.policyController = mapped
    }

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

    internal fun build(): FeatureMembershipConfigmanagementArgs =
        FeatureMembershipConfigmanagementArgs(
            binauthz = binauthz,
            configSync = configSync,
            hierarchyController = hierarchyController,
            policyController = policyController,
            version = version,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy