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

com.pulumi.gcp.edgecontainer.kotlin.inputs.VpnConnectionVpcProjectArgs.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.VpnConnectionVpcProjectArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property projectId The project of the VPC to connect to. If not specified, it is the same as the cluster project.
 */
public data class VpnConnectionVpcProjectArgs(
    public val projectId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.edgecontainer.inputs.VpnConnectionVpcProjectArgs =
        com.pulumi.gcp.edgecontainer.inputs.VpnConnectionVpcProjectArgs.builder()
            .projectId(projectId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VpnConnectionVpcProjectArgs].
 */
@PulumiTagMarker
public class VpnConnectionVpcProjectArgsBuilder internal constructor() {
    private var projectId: Output? = null

    /**
     * @param value The project of the VPC to connect to. If not specified, it is the same as the cluster project.
     */
    @JvmName("tcnxpauierundpjd")
    public suspend fun projectId(`value`: Output) {
        this.projectId = value
    }

    /**
     * @param value The project of the VPC to connect to. If not specified, it is the same as the cluster project.
     */
    @JvmName("iyiobymrxahopsbd")
    public suspend fun projectId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.projectId = mapped
    }

    internal fun build(): VpnConnectionVpcProjectArgs = VpnConnectionVpcProjectArgs(
        projectId = projectId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy