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

com.pulumi.gcp.gkehub.kotlin.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs.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.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property bundles Configures which bundles to install and their corresponding install specs.
 * Structure is documented below.
 * @property templateLibrary Configures the installation of the Template Library.
 * Structure is documented below.
 */
public data class
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs(
    public val bundles: Output>? =
        null,
    public val templateLibrary: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs.builder()
            .bundles(
                bundles?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .templateLibrary(
                templateLibrary?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs].
 */
@PulumiTagMarker
public class
FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgsBuilder
internal constructor() {
    private var bundles:
        Output>? =
        null

    private var templateLibrary:
        Output? =
        null

    /**
     * @param value Configures which bundles to install and their corresponding install specs.
     * Structure is documented below.
     */
    @JvmName("bsqsexpamnaiigkx")
    public suspend fun bundles(`value`: Output>) {
        this.bundles = value
    }

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

    /**
     * @param values Configures which bundles to install and their corresponding install specs.
     * Structure is documented below.
     */
    @JvmName("vtjfdhhgfouwifyp")
    public suspend fun bundles(values: List>) {
        this.bundles = Output.all(values)
    }

    /**
     * @param value Configures the installation of the Template Library.
     * Structure is documented below.
     */
    @JvmName("efkrhhbuqnlyqqqd")
    public suspend fun templateLibrary(`value`: Output) {
        this.templateLibrary = value
    }

    /**
     * @param value Configures which bundles to install and their corresponding install specs.
     * Structure is documented below.
     */
    @JvmName("hnjvghvgvchfibpy")
    public suspend fun bundles(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bundles = mapped
    }

    /**
     * @param argument Configures which bundles to install and their corresponding install specs.
     * Structure is documented below.
     */
    @JvmName("pydmvevbyfauqpvt")
    public suspend fun bundles(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.bundles = mapped
    }

    /**
     * @param argument Configures which bundles to install and their corresponding install specs.
     * Structure is documented below.
     */
    @JvmName("hmkkthdvsxbygeyg")
    public suspend fun bundles(vararg argument: suspend FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.bundles = mapped
    }

    /**
     * @param argument Configures which bundles to install and their corresponding install specs.
     * Structure is documented below.
     */
    @JvmName("prkdrmqxfmibqata")
    public suspend fun bundles(argument: suspend FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgsBuilder().applySuspend
                    { argument() }.build(),
            )
        val mapped = of(toBeMapped)
        this.bundles = mapped
    }

    /**
     * @param values Configures which bundles to install and their corresponding install specs.
     * Structure is documented below.
     */
    @JvmName("yhrogimlbyditgni")
    public suspend fun bundles(vararg values: FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentBundleArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bundles = mapped
    }

    /**
     * @param value Configures the installation of the Template Library.
     * Structure is documented below.
     */
    @JvmName("brxgvxslftpidlxq")
    public suspend fun templateLibrary(`value`: FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.templateLibrary = mapped
    }

    /**
     * @param argument Configures the installation of the Template Library.
     * Structure is documented below.
     */
    @JvmName("svekkcdirrpqsevp")
    public suspend fun templateLibrary(argument: suspend FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryArgsBuilder.() -> Unit) {
        val toBeMapped =
            FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentTemplateLibraryArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.templateLibrary = mapped
    }

    internal fun build(): FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs =
        FeatureFleetDefaultMemberConfigPolicycontrollerPolicyControllerHubConfigPolicyContentArgs(
            bundles = bundles,
            templateLibrary = templateLibrary,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy