com.pulumi.gcp.dns.kotlin.inputs.ResponsePolicyRuleLocalDataLocalDataArgs.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.ResponsePolicyRuleLocalDataLocalDataArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property name For example, www.example.com.
* @property rrdatas As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
* @property ttl Number of seconds that this ResourceRecordSet can be cached by
* resolvers.
* @property type One of valid DNS resource types.
* Possible values are: `A`, `AAAA`, `CAA`, `CNAME`, `DNSKEY`, `DS`, `HTTPS`, `IPSECVPNKEY`, `MX`, `NAPTR`, `NS`, `PTR`, `SOA`, `SPF`, `SRV`, `SSHFP`, `SVCB`, `TLSA`, `TXT`.
*/
public data class ResponsePolicyRuleLocalDataLocalDataArgs(
public val name: Output,
public val rrdatas: Output>? = null,
public val ttl: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dns.inputs.ResponsePolicyRuleLocalDataLocalDataArgs =
com.pulumi.gcp.dns.inputs.ResponsePolicyRuleLocalDataLocalDataArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.rrdatas(rrdatas?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ttl(ttl?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResponsePolicyRuleLocalDataLocalDataArgs].
*/
@PulumiTagMarker
public class ResponsePolicyRuleLocalDataLocalDataArgsBuilder internal constructor() {
private var name: Output? = null
private var rrdatas: Output>? = null
private var ttl: Output? = null
private var type: Output? = null
/**
* @param value For example, www.example.com.
*/
@JvmName("pqbfouymrywxjoco")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
*/
@JvmName("wwqatybatwxewfvb")
public suspend fun rrdatas(`value`: Output>) {
this.rrdatas = value
}
@JvmName("ssbwvchckkkmvgvv")
public suspend fun rrdatas(vararg values: Output) {
this.rrdatas = Output.all(values.asList())
}
/**
* @param values As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
*/
@JvmName("ccauergtuoborywh")
public suspend fun rrdatas(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy