com.pulumi.gcp.clouddomains.kotlin.inputs.RegistrationDnsSettingsCustomDnsArgs.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.clouddomains.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.clouddomains.inputs.RegistrationDnsSettingsCustomDnsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property dsRecords The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide
* the values to set here. If this field is empty, DNSSEC is disabled.
* Structure is documented below.
* @property nameServers Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain
* name, with Unicode domain names expressed in Punycode format.
*/
public data class RegistrationDnsSettingsCustomDnsArgs(
public val dsRecords: Output>? = null,
public val nameServers: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.clouddomains.inputs.RegistrationDnsSettingsCustomDnsArgs =
com.pulumi.gcp.clouddomains.inputs.RegistrationDnsSettingsCustomDnsArgs.builder()
.dsRecords(
dsRecords?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.nameServers(nameServers.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [RegistrationDnsSettingsCustomDnsArgs].
*/
@PulumiTagMarker
public class RegistrationDnsSettingsCustomDnsArgsBuilder internal constructor() {
private var dsRecords: Output>? = null
private var nameServers: Output>? = null
/**
* @param value The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide
* the values to set here. If this field is empty, DNSSEC is disabled.
* Structure is documented below.
*/
@JvmName("pyisktdkgmkenett")
public suspend fun dsRecords(`value`: Output>) {
this.dsRecords = value
}
@JvmName("aihylbeeqkrfoqlu")
public suspend fun dsRecords(vararg values: Output) {
this.dsRecords = Output.all(values.asList())
}
/**
* @param values The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide
* the values to set here. If this field is empty, DNSSEC is disabled.
* Structure is documented below.
*/
@JvmName("sqvcqaclqmcdjmyr")
public suspend fun dsRecords(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy