com.pulumi.cloudflare.kotlin.inputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolversArgs.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolversArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property ipv4s IPv4 resolvers.
* @property ipv6s IPv6 resolvers.
*/
public data class ZeroTrustGatewayPolicyRuleSettingsDnsResolversArgs(
public val ipv4s: Output>? = null,
public val ipv6s: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolversArgs =
com.pulumi.cloudflare.inputs.ZeroTrustGatewayPolicyRuleSettingsDnsResolversArgs.builder()
.ipv4s(ipv4s?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.ipv6s(
ipv6s?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ZeroTrustGatewayPolicyRuleSettingsDnsResolversArgs].
*/
@PulumiTagMarker
public class ZeroTrustGatewayPolicyRuleSettingsDnsResolversArgsBuilder internal constructor() {
private var ipv4s: Output>? = null
private var ipv6s: Output>? = null
/**
* @param value IPv4 resolvers.
*/
@JvmName("penmfpybobymjfhs")
public suspend fun ipv4s(`value`: Output>) {
this.ipv4s = value
}
@JvmName("awfsvrimrrrqbdys")
public suspend fun ipv4s(vararg values: Output) {
this.ipv4s = Output.all(values.asList())
}
/**
* @param values IPv4 resolvers.
*/
@JvmName("wuqfufjvsllvislt")
public suspend fun ipv4s(values: List