com.pulumi.gcp.dns.kotlin.inputs.ManagedZoneForwardingConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dns.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dns.inputs.ManagedZoneForwardingConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 targetNameServers List of target name servers to forward to. Cloud DNS will
* select the best available name server if more than
* one target is given.
* Structure is documented below.
*/
public data class ManagedZoneForwardingConfigArgs(
public val targetNameServers: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dns.inputs.ManagedZoneForwardingConfigArgs =
com.pulumi.gcp.dns.inputs.ManagedZoneForwardingConfigArgs.builder()
.targetNameServers(
targetNameServers.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ManagedZoneForwardingConfigArgs].
*/
@PulumiTagMarker
public class ManagedZoneForwardingConfigArgsBuilder internal constructor() {
private var targetNameServers: Output>? =
null
/**
* @param value List of target name servers to forward to. Cloud DNS will
* select the best available name server if more than
* one target is given.
* Structure is documented below.
*/
@JvmName("cguglutccgmnagud")
public suspend fun targetNameServers(`value`: Output>) {
this.targetNameServers = value
}
@JvmName("flxfjnfboygkdheu")
public suspend fun targetNameServers(vararg values: Output) {
this.targetNameServers = Output.all(values.asList())
}
/**
* @param values List of target name servers to forward to. Cloud DNS will
* select the best available name server if more than
* one target is given.
* Structure is documented below.
*/
@JvmName("diuyxlabbehussur")
public suspend fun targetNameServers(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy