com.pulumi.gcp.dns.kotlin.outputs.ResponsePolicyRuleLocalDataLocalData.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 ResponsePolicyRuleLocalDataLocalData(
public val name: String,
public val rrdatas: List? = null,
public val ttl: Int? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dns.outputs.ResponsePolicyRuleLocalDataLocalData): ResponsePolicyRuleLocalDataLocalData = ResponsePolicyRuleLocalDataLocalData(
name = javaType.name(),
rrdatas = javaType.rrdatas().map({ args0 -> args0 }),
ttl = javaType.ttl().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy