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

com.pulumi.gcp.container.kotlin.inputs.AttachedClusterFleetArgs.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.container.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AttachedClusterFleetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property membership (Output)
 * The name of the managed Hub Membership resource associated to this
 * cluster. Membership names are formatted as
 * projects//locations/global/membership/.
 * @property project The ID of the project in which the resource belongs.
 * If it is not provided, the provider project is used.
 */
public data class AttachedClusterFleetArgs(
    public val membership: Output? = null,
    public val project: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.AttachedClusterFleetArgs =
        com.pulumi.gcp.container.inputs.AttachedClusterFleetArgs.builder()
            .membership(membership?.applyValue({ args0 -> args0 }))
            .project(project.applyValue({ args0 -> args0 })).build()
}

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

    private var project: Output? = null

    /**
     * @param value (Output)
     * The name of the managed Hub Membership resource associated to this
     * cluster. Membership names are formatted as
     * projects//locations/global/membership/.
     */
    @JvmName("gqxwwwbrnbhppamj")
    public suspend fun membership(`value`: Output) {
        this.membership = value
    }

    /**
     * @param value The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     */
    @JvmName("kcgxmswstiwioqyy")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value (Output)
     * The name of the managed Hub Membership resource associated to this
     * cluster. Membership names are formatted as
     * projects//locations/global/membership/.
     */
    @JvmName("bvlxiajspoeolpng")
    public suspend fun membership(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.membership = mapped
    }

    /**
     * @param value The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     */
    @JvmName("qklsugxyxqfjsjkb")
    public suspend fun project(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.project = mapped
    }

    internal fun build(): AttachedClusterFleetArgs = AttachedClusterFleetArgs(
        membership = membership,
        project = project ?: throw PulumiNullFieldException("project"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy