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

com.pulumi.cloudflare.kotlin.inputs.GetZeroTrustTunnelVirtualNetworkPlainArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.GetZeroTrustTunnelVirtualNetworkPlainArgs.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

/**
 * A collection of arguments for invoking getZeroTrustTunnelVirtualNetwork.
 * @property accountId The account identifier to target for the resource.
 * @property name The Virtual Network Name.
 */
public data class GetZeroTrustTunnelVirtualNetworkPlainArgs(
    public val accountId: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.GetZeroTrustTunnelVirtualNetworkPlainArgs =
        com.pulumi.cloudflare.inputs.GetZeroTrustTunnelVirtualNetworkPlainArgs.builder()
            .accountId(accountId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetZeroTrustTunnelVirtualNetworkPlainArgs].
 */
@PulumiTagMarker
public class GetZeroTrustTunnelVirtualNetworkPlainArgsBuilder internal constructor() {
    private var accountId: String? = null

    private var name: String? = null

    /**
     * @param value The account identifier to target for the resource.
     */
    @JvmName("uypvxboacjjgbett")
    public suspend fun accountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.accountId = mapped
    }

    /**
     * @param value The Virtual Network Name.
     */
    @JvmName("svbvnpjxvsqcmnkv")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetZeroTrustTunnelVirtualNetworkPlainArgs =
        GetZeroTrustTunnelVirtualNetworkPlainArgs(
            accountId = accountId ?: throw PulumiNullFieldException("accountId"),
            name = name ?: throw PulumiNullFieldException("name"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy