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

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

/**
 *
 * @property configmanagement Config Management spec
 * Structure is documented below.
 * @property mesh Service Mesh spec
 * Structure is documented below.
 * @property policycontroller Policy Controller spec
 * Structure is documented below.
 */
public data class FeatureFleetDefaultMemberConfigArgs(
    public val configmanagement: Output? = null,
    public val mesh: Output? = null,
    public val policycontroller: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigArgs =
        com.pulumi.gcp.gkehub.inputs.FeatureFleetDefaultMemberConfigArgs.builder()
            .configmanagement(configmanagement?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .mesh(mesh?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .policycontroller(
                policycontroller?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [FeatureFleetDefaultMemberConfigArgs].
 */
@PulumiTagMarker
public class FeatureFleetDefaultMemberConfigArgsBuilder internal constructor() {
    private var configmanagement: Output? = null

    private var mesh: Output? = null

    private var policycontroller: Output? = null

    /**
     * @param value Config Management spec
     * Structure is documented below.
     */
    @JvmName("jqyxwtkfmqaurdku")
    public suspend fun configmanagement(`value`: Output) {
        this.configmanagement = value
    }

    /**
     * @param value Service Mesh spec
     * Structure is documented below.
     */
    @JvmName("ashwyytoqyycvraa")
    public suspend fun mesh(`value`: Output) {
        this.mesh = value
    }

    /**
     * @param value Policy Controller spec
     * Structure is documented below.
     */
    @JvmName("xnehlxgmkpxhnsns")
    public suspend fun policycontroller(`value`: Output) {
        this.policycontroller = value
    }

    /**
     * @param value Config Management spec
     * Structure is documented below.
     */
    @JvmName("swapdhpxcwrhkxma")
    public suspend fun configmanagement(`value`: FeatureFleetDefaultMemberConfigConfigmanagementArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configmanagement = mapped
    }

    /**
     * @param argument Config Management spec
     * Structure is documented below.
     */
    @JvmName("shiohntxhlcyswop")
    public suspend fun configmanagement(argument: suspend FeatureFleetDefaultMemberConfigConfigmanagementArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureFleetDefaultMemberConfigConfigmanagementArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.configmanagement = mapped
    }

    /**
     * @param value Service Mesh spec
     * Structure is documented below.
     */
    @JvmName("thrcyreklarjtlms")
    public suspend fun mesh(`value`: FeatureFleetDefaultMemberConfigMeshArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mesh = mapped
    }

    /**
     * @param argument Service Mesh spec
     * Structure is documented below.
     */
    @JvmName("dbqbucqdpmcqenjd")
    public suspend fun mesh(argument: suspend FeatureFleetDefaultMemberConfigMeshArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureFleetDefaultMemberConfigMeshArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.mesh = mapped
    }

    /**
     * @param value Policy Controller spec
     * Structure is documented below.
     */
    @JvmName("swfrwvmpcjkilcui")
    public suspend fun policycontroller(`value`: FeatureFleetDefaultMemberConfigPolicycontrollerArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policycontroller = mapped
    }

    /**
     * @param argument Policy Controller spec
     * Structure is documented below.
     */
    @JvmName("fgockbcuhxgsgidh")
    public suspend fun policycontroller(argument: suspend FeatureFleetDefaultMemberConfigPolicycontrollerArgsBuilder.() -> Unit) {
        val toBeMapped = FeatureFleetDefaultMemberConfigPolicycontrollerArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.policycontroller = mapped
    }

    internal fun build(): FeatureFleetDefaultMemberConfigArgs = FeatureFleetDefaultMemberConfigArgs(
        configmanagement = configmanagement,
        mesh = mesh,
        policycontroller = policycontroller,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy