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

com.pulumi.gcp.gkehub.kotlin.inputs.MembershipEndpointArgs.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.MembershipEndpointArgs.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 gkeCluster If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
 * Structure is documented below.
 */
public data class MembershipEndpointArgs(
    public val gkeCluster: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkehub.inputs.MembershipEndpointArgs =
        com.pulumi.gcp.gkehub.inputs.MembershipEndpointArgs.builder()
            .gkeCluster(gkeCluster?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [MembershipEndpointArgs].
 */
@PulumiTagMarker
public class MembershipEndpointArgsBuilder internal constructor() {
    private var gkeCluster: Output? = null

    /**
     * @param value If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
     * Structure is documented below.
     */
    @JvmName("tkrgthsrtioeqemy")
    public suspend fun gkeCluster(`value`: Output) {
        this.gkeCluster = value
    }

    /**
     * @param value If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
     * Structure is documented below.
     */
    @JvmName("tpfbhhlcfankmprq")
    public suspend fun gkeCluster(`value`: MembershipEndpointGkeClusterArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gkeCluster = mapped
    }

    /**
     * @param argument If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
     * Structure is documented below.
     */
    @JvmName("xhekgiksedghyfag")
    public suspend fun gkeCluster(argument: suspend MembershipEndpointGkeClusterArgsBuilder.() -> Unit) {
        val toBeMapped = MembershipEndpointGkeClusterArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.gkeCluster = mapped
    }

    internal fun build(): MembershipEndpointArgs = MembershipEndpointArgs(
        gkeCluster = gkeCluster,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy