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

com.pulumi.cloudflare.kotlin.inputs.SplitTunnelTunnelArgs.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: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.SplitTunnelTunnelArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property address The address for the tunnel.
 * @property description A description for the tunnel.
 * @property host The domain name for the tunnel.
 */
public data class SplitTunnelTunnelArgs(
    public val address: Output? = null,
    public val description: Output? = null,
    public val host: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.SplitTunnelTunnelArgs =
        com.pulumi.cloudflare.inputs.SplitTunnelTunnelArgs.builder()
            .address(address?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .host(host?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SplitTunnelTunnelArgs].
 */
@PulumiTagMarker
public class SplitTunnelTunnelArgsBuilder internal constructor() {
    private var address: Output? = null

    private var description: Output? = null

    private var host: Output? = null

    /**
     * @param value The address for the tunnel.
     */
    @JvmName("pngnfgldvipqsfop")
    public suspend fun address(`value`: Output) {
        this.address = value
    }

    /**
     * @param value A description for the tunnel.
     */
    @JvmName("tvdarejqgkhdxptv")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The domain name for the tunnel.
     */
    @JvmName("eeasspuwtrwgeftu")
    public suspend fun host(`value`: Output) {
        this.host = value
    }

    /**
     * @param value The address for the tunnel.
     */
    @JvmName("hoelfqdoumciqvwn")
    public suspend fun address(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.address = mapped
    }

    /**
     * @param value A description for the tunnel.
     */
    @JvmName("mijjpifattggqnpo")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The domain name for the tunnel.
     */
    @JvmName("pcbvejancajvktmo")
    public suspend fun host(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.host = mapped
    }

    internal fun build(): SplitTunnelTunnelArgs = SplitTunnelTunnelArgs(
        address = address,
        description = description,
        host = host,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy