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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs.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.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs.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 bundle The identifier for this object. Format specified above.
 * @property exemptedNamespaces The set of namespaces to be exempted from the bundle.
 */
public data class
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs(
    public val bundle: Output,
    public val exemptedNamespaces: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs.builder()
            .bundle(bundle.applyValue({ args0 -> args0 }))
            .exemptedNamespaces(
                exemptedNamespaces?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs].
 */
@PulumiTagMarker
public class
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgsBuilder
internal constructor() {
    private var bundle: Output? = null

    private var exemptedNamespaces: Output>? = null

    /**
     * @param value The identifier for this object. Format specified above.
     */
    @JvmName("unjncnpdxjiqbgvg")
    public suspend fun bundle(`value`: Output) {
        this.bundle = value
    }

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

    @JvmName("nqaubvbitiokkpvh")
    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("ofginygmhgxkqfjg")
    public suspend fun exemptedNamespaces(values: List>) {
        this.exemptedNamespaces = Output.all(values)
    }

    /**
     * @param value The identifier for this object. Format specified above.
     */
    @JvmName("isgmlxkeknyplclu")
    public suspend fun bundle(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bundle = mapped
    }

    /**
     * @param value The set of namespaces to be exempted from the bundle.
     */
    @JvmName("ajjuasricoeanemx")
    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("oqvxvtcputcwrbop")
    public suspend fun exemptedNamespaces(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.exemptedNamespaces = mapped
    }

    internal fun build(): FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs =
        FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs(
            bundle = bundle ?: throw PulumiNullFieldException("bundle"),
            exemptedNamespaces = exemptedNamespaces,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy