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

com.pulumi.gcp.accesscontextmanager.kotlin.inputs.AccessLevelConditionVpcNetworkSourceArgs.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.accesscontextmanager.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelConditionVpcNetworkSourceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property vpcSubnetwork Sub networks within a VPC network.
 * Structure is documented below.
 */
public data class AccessLevelConditionVpcNetworkSourceArgs(
    public val vpcSubnetwork: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelConditionVpcNetworkSourceArgs =
        com.pulumi.gcp.accesscontextmanager.inputs.AccessLevelConditionVpcNetworkSourceArgs.builder()
            .vpcSubnetwork(vpcSubnetwork?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AccessLevelConditionVpcNetworkSourceArgs].
 */
@PulumiTagMarker
public class AccessLevelConditionVpcNetworkSourceArgsBuilder internal constructor() {
    private var vpcSubnetwork: Output? = null

    /**
     * @param value Sub networks within a VPC network.
     * Structure is documented below.
     */
    @JvmName("bmagennspmsqnuqm")
    public suspend fun vpcSubnetwork(`value`: Output) {
        this.vpcSubnetwork = value
    }

    /**
     * @param value Sub networks within a VPC network.
     * Structure is documented below.
     */
    @JvmName("swcwgjrdfdpvebfk")
    public suspend fun vpcSubnetwork(`value`: AccessLevelConditionVpcNetworkSourceVpcSubnetworkArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpcSubnetwork = mapped
    }

    /**
     * @param argument Sub networks within a VPC network.
     * Structure is documented below.
     */
    @JvmName("opyfgxvhkyqqbfon")
    public suspend fun vpcSubnetwork(argument: suspend AccessLevelConditionVpcNetworkSourceVpcSubnetworkArgsBuilder.() -> Unit) {
        val toBeMapped = AccessLevelConditionVpcNetworkSourceVpcSubnetworkArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.vpcSubnetwork = mapped
    }

    internal fun build(): AccessLevelConditionVpcNetworkSourceArgs =
        AccessLevelConditionVpcNetworkSourceArgs(
            vpcSubnetwork = vpcSubnetwork,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy