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

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustLocalFallbackDomainDomainArgs.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.ZeroTrustLocalFallbackDomainDomainArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property description A description of the fallback domain, displayed in the client UI.
 * @property dnsServers A list of IP addresses to handle domain resolution.
 * @property suffix The domain suffix to match when resolving locally.
 */
public data class ZeroTrustLocalFallbackDomainDomainArgs(
    public val description: Output? = null,
    public val dnsServers: Output>? = null,
    public val suffix: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustLocalFallbackDomainDomainArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustLocalFallbackDomainDomainArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .dnsServers(dnsServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .suffix(suffix?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZeroTrustLocalFallbackDomainDomainArgs].
 */
@PulumiTagMarker
public class ZeroTrustLocalFallbackDomainDomainArgsBuilder internal constructor() {
    private var description: Output? = null

    private var dnsServers: Output>? = null

    private var suffix: Output? = null

    /**
     * @param value A description of the fallback domain, displayed in the client UI.
     */
    @JvmName("mdhwafguokrtkbmt")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value A list of IP addresses to handle domain resolution.
     */
    @JvmName("rwwsleayuejukxuf")
    public suspend fun dnsServers(`value`: Output>) {
        this.dnsServers = value
    }

    @JvmName("xoaiusgiplmfumlc")
    public suspend fun dnsServers(vararg values: Output) {
        this.dnsServers = Output.all(values.asList())
    }

    /**
     * @param values A list of IP addresses to handle domain resolution.
     */
    @JvmName("bguanacpylggwksh")
    public suspend fun dnsServers(values: List>) {
        this.dnsServers = Output.all(values)
    }

    /**
     * @param value The domain suffix to match when resolving locally.
     */
    @JvmName("lfocxibxqbhnslrb")
    public suspend fun suffix(`value`: Output) {
        this.suffix = value
    }

    /**
     * @param value A description of the fallback domain, displayed in the client UI.
     */
    @JvmName("ikylmaprcllcehhs")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value A list of IP addresses to handle domain resolution.
     */
    @JvmName("maenvekkiwskkpoy")
    public suspend fun dnsServers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnsServers = mapped
    }

    /**
     * @param values A list of IP addresses to handle domain resolution.
     */
    @JvmName("msuhnqafpdtovoth")
    public suspend fun dnsServers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dnsServers = mapped
    }

    /**
     * @param value The domain suffix to match when resolving locally.
     */
    @JvmName("ocmmwehxmhvmqhhx")
    public suspend fun suffix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.suffix = mapped
    }

    internal fun build(): ZeroTrustLocalFallbackDomainDomainArgs =
        ZeroTrustLocalFallbackDomainDomainArgs(
            description = description,
            dnsServers = dnsServers,
            suffix = suffix,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy