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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs.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.12.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.FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property bundleName The name of the bundle.
 * @property exemptedNamespaces The set of namespaces to be exempted from the bundle.
 */
public data class FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs(
    public val bundleName: Output,
    public val exemptedNamespaces: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs.builder()
            .bundleName(bundleName.applyValue({ args0 -> args0 }))
            .exemptedNamespaces(
                exemptedNamespaces?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs].
 */
@PulumiTagMarker
public class
FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgsBuilder
internal constructor() {
    private var bundleName: Output? = null

    private var exemptedNamespaces: Output>? = null

    /**
     * @param value The name of the bundle.
     */
    @JvmName("upaeortogrbdmrll")
    public suspend fun bundleName(`value`: Output) {
        this.bundleName = value
    }

    /**
     * @param value The set of namespaces to be exempted from the bundle.
     */
    @JvmName("bfigrrdnmgpwipbk")
    public suspend fun exemptedNamespaces(`value`: Output>) {
        this.exemptedNamespaces = value
    }

    @JvmName("sydwdaklawqgtnwu")
    public suspend fun exemptedNamespaces(vararg values: Output) {
        this.exemptedNamespaces = Output.all(values.asList())
    }

    /**
     * @param values The set of namespaces to be exempted from the bundle.
     */
    @JvmName("rcqgimvxisehbios")
    public suspend fun exemptedNamespaces(values: List>) {
        this.exemptedNamespaces = Output.all(values)
    }

    /**
     * @param value The name of the bundle.
     */
    @JvmName("nbsiunesieucticx")
    public suspend fun bundleName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bundleName = mapped
    }

    /**
     * @param value The set of namespaces to be exempted from the bundle.
     */
    @JvmName("ohjptibeajqdekly")
    public suspend fun exemptedNamespaces(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.exemptedNamespaces = mapped
    }

    /**
     * @param values The set of namespaces to be exempted from the bundle.
     */
    @JvmName("ubwqnamncborfhje")
    public suspend fun exemptedNamespaces(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.exemptedNamespaces = mapped
    }

    internal fun build(): FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs =
        FeatureMembershipPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs(
            bundleName = bundleName ?: throw PulumiNullFieldException("bundleName"),
            exemptedNamespaces = exemptedNamespaces,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy