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

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

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

/**
 *
 * @property membership The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as projects//locations/global/membership/.
 * @property project The number of the Fleet host project where this cluster will be registered.
 */
public data class AwsClusterFleetArgs(
    public val membership: Output? = null,
    public val project: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.AwsClusterFleetArgs =
        com.pulumi.gcp.container.inputs.AwsClusterFleetArgs.builder()
            .membership(membership?.applyValue({ args0 -> args0 }))
            .project(project?.applyValue({ args0 -> args0 })).build()
}

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

    private var project: Output? = null

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

    /**
     * @param value The number of the Fleet host project where this cluster will be registered.
     */
    @JvmName("vlfagbufjvpmrqsa")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

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

    /**
     * @param value The number of the Fleet host project where this cluster will be registered.
     */
    @JvmName("mhjdrmjkwyeksvyk")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.project = mapped
    }

    internal fun build(): AwsClusterFleetArgs = AwsClusterFleetArgs(
        membership = membership,
        project = project,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy