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

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

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.WaitingRoomAdditionalRouteArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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

/**
 *
 * @property host The additional host name for which the waiting room to be applied on (no wildcards).
 * @property path The path within the additional host to enable the waiting room on. Defaults to `/`.
 */
public data class WaitingRoomAdditionalRouteArgs(
    public val host: Output,
    public val path: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.WaitingRoomAdditionalRouteArgs =
        com.pulumi.cloudflare.inputs.WaitingRoomAdditionalRouteArgs.builder()
            .host(host.applyValue({ args0 -> args0 }))
            .path(path?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WaitingRoomAdditionalRouteArgs].
 */
@PulumiTagMarker
public class WaitingRoomAdditionalRouteArgsBuilder internal constructor() {
    private var host: Output? = null

    private var path: Output? = null

    /**
     * @param value The additional host name for which the waiting room to be applied on (no wildcards).
     */
    @JvmName("sthrdjeouegysamd")
    public suspend fun host(`value`: Output) {
        this.host = value
    }

    /**
     * @param value The path within the additional host to enable the waiting room on. Defaults to `/`.
     */
    @JvmName("iujcvbyowtuwuolc")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value The additional host name for which the waiting room to be applied on (no wildcards).
     */
    @JvmName("afvodqovjpjqpxix")
    public suspend fun host(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.host = mapped
    }

    /**
     * @param value The path within the additional host to enable the waiting room on. Defaults to `/`.
     */
    @JvmName("hhpjnfqjmwyvnlqf")
    public suspend fun path(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.path = mapped
    }

    internal fun build(): WaitingRoomAdditionalRouteArgs = WaitingRoomAdditionalRouteArgs(
        host = host ?: throw PulumiNullFieldException("host"),
        path = path,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy