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

com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs.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 nodePoolConfig The generic configuration for a node pool running a load balancer.
 * Structure is documented below.
 */
public data class BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs(
    public val nodePoolConfig: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs =
        com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs.builder()
            .nodePoolConfig(
                nodePoolConfig?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs].
 */
@PulumiTagMarker
public class BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgsBuilder internal constructor() {
    private var nodePoolConfig:
        Output? =
        null

    /**
     * @param value The generic configuration for a node pool running a load balancer.
     * Structure is documented below.
     */
    @JvmName("whxhqumvicgmemti")
    public suspend fun nodePoolConfig(`value`: Output) {
        this.nodePoolConfig = value
    }

    /**
     * @param value The generic configuration for a node pool running a load balancer.
     * Structure is documented below.
     */
    @JvmName("jigivaafdiwedjod")
    public suspend fun nodePoolConfig(`value`: BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nodePoolConfig = mapped
    }

    /**
     * @param argument The generic configuration for a node pool running a load balancer.
     * Structure is documented below.
     */
    @JvmName("lvmubabvbnoufwqd")
    public suspend fun nodePoolConfig(argument: suspend BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgsBuilder.() -> Unit) {
        val toBeMapped =
            BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.nodePoolConfig = mapped
    }

    internal fun build(): BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs =
        BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs(
            nodePoolConfig = nodePoolConfig,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy