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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureMembershipConfigmanagementHierarchyControllerArgs.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.13.1.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.FeatureMembershipConfigmanagementHierarchyControllerArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enableHierarchicalResourceQuota Whether hierarchical resource quota is enabled in this cluster.
 * @property enablePodTreeLabels Whether pod tree labels are enabled in this cluster.
 * @property enabled Whether Hierarchy Controller is enabled in this cluster.
 */
public data class FeatureMembershipConfigmanagementHierarchyControllerArgs(
    public val enableHierarchicalResourceQuota: Output? = null,
    public val enablePodTreeLabels: Output? = null,
    public val enabled: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementHierarchyControllerArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureMembershipConfigmanagementHierarchyControllerArgs.builder()
            .enableHierarchicalResourceQuota(enableHierarchicalResourceQuota?.applyValue({ args0 -> args0 }))
            .enablePodTreeLabels(enablePodTreeLabels?.applyValue({ args0 -> args0 }))
            .enabled(enabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FeatureMembershipConfigmanagementHierarchyControllerArgs].
 */
@PulumiTagMarker
public class FeatureMembershipConfigmanagementHierarchyControllerArgsBuilder internal constructor() {
    private var enableHierarchicalResourceQuota: Output? = null

    private var enablePodTreeLabels: Output? = null

    private var enabled: Output? = null

    /**
     * @param value Whether hierarchical resource quota is enabled in this cluster.
     */
    @JvmName("vnstepefsnbmbypa")
    public suspend fun enableHierarchicalResourceQuota(`value`: Output) {
        this.enableHierarchicalResourceQuota = value
    }

    /**
     * @param value Whether pod tree labels are enabled in this cluster.
     */
    @JvmName("wnjoddnlucmcptki")
    public suspend fun enablePodTreeLabels(`value`: Output) {
        this.enablePodTreeLabels = value
    }

    /**
     * @param value Whether Hierarchy Controller is enabled in this cluster.
     */
    @JvmName("mwagfcpokdsulmob")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value Whether hierarchical resource quota is enabled in this cluster.
     */
    @JvmName("aivnvknpmuwybukl")
    public suspend fun enableHierarchicalResourceQuota(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableHierarchicalResourceQuota = mapped
    }

    /**
     * @param value Whether pod tree labels are enabled in this cluster.
     */
    @JvmName("uaqyvstvfwevqcgb")
    public suspend fun enablePodTreeLabels(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enablePodTreeLabels = mapped
    }

    /**
     * @param value Whether Hierarchy Controller is enabled in this cluster.
     */
    @JvmName("rgaynyeesonrhrid")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    internal fun build(): FeatureMembershipConfigmanagementHierarchyControllerArgs =
        FeatureMembershipConfigmanagementHierarchyControllerArgs(
            enableHierarchicalResourceQuota = enableHierarchicalResourceQuota,
            enablePodTreeLabels = enablePodTreeLabels,
            enabled = enabled,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy