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

com.pulumi.gcp.edgecontainer.kotlin.inputs.ClusterFleetArgs.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.edgecontainer.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.edgecontainer.inputs.ClusterFleetArgs.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 name of the Fleet host project where this cluster will be registered.
 * Project names are formatted as
 * `projects/`.
 */
public data class ClusterFleetArgs(
    public val membership: Output? = null,
    public val project: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.edgecontainer.inputs.ClusterFleetArgs =
        com.pulumi.gcp.edgecontainer.inputs.ClusterFleetArgs.builder()
            .membership(membership?.applyValue({ args0 -> args0 }))
            .project(project.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterFleetArgs].
 */
@PulumiTagMarker
public class ClusterFleetArgsBuilder 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("ctgdxmfyqikgetsb")
    public suspend fun membership(`value`: Output) {
        this.membership = value
    }

    /**
     * @param value The name of the Fleet host project where this cluster will be registered.
     * Project names are formatted as
     * `projects/`.
     */
    @JvmName("yiqutxnawytgfuil")
    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("mceojmqhydhwgmtr")
    public suspend fun membership(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.membership = mapped
    }

    /**
     * @param value The name of the Fleet host project where this cluster will be registered.
     * Project names are formatted as
     * `projects/`.
     */
    @JvmName("ddkgiiewukjnpoun")
    public suspend fun project(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.project = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy