com.pulumi.cloudflare.kotlin.inputs.ZeroTrustLocalFallbackDomainDomainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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("fdpmrxlhcfcsixvf")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A list of IP addresses to handle domain resolution.
*/
@JvmName("jhfsepqkxufhwjlm")
public suspend fun dnsServers(`value`: Output>) {
this.dnsServers = value
}
@JvmName("pknfucfoxbhkjqmq")
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("rcpmgscyvnvcwpnn")
public suspend fun dnsServers(values: List