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

com.pulumi.gcp.clouddeploy.kotlin.inputs.TargetAssociatedEntityAnthosClusterArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.clouddeploy.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.clouddeploy.inputs.TargetAssociatedEntityAnthosClusterArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property membership Optional. Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.
 */
public data class TargetAssociatedEntityAnthosClusterArgs(
    public val membership: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.clouddeploy.inputs.TargetAssociatedEntityAnthosClusterArgs =
        com.pulumi.gcp.clouddeploy.inputs.TargetAssociatedEntityAnthosClusterArgs.builder()
            .membership(membership?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TargetAssociatedEntityAnthosClusterArgs].
 */
@PulumiTagMarker
public class TargetAssociatedEntityAnthosClusterArgsBuilder internal constructor() {
    private var membership: Output? = null

    /**
     * @param value Optional. Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.
     */
    @JvmName("kcwagntivemcxddb")
    public suspend fun membership(`value`: Output) {
        this.membership = value
    }

    /**
     * @param value Optional. Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.
     */
    @JvmName("nqdeemnhkkgfyhrq")
    public suspend fun membership(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.membership = mapped
    }

    internal fun build(): TargetAssociatedEntityAnthosClusterArgs =
        TargetAssociatedEntityAnthosClusterArgs(
            membership = membership,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy