com.pulumi.awsnative.vpclattice.kotlin.outputs.ServiceNetworkServiceAssociationDnsEntry.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.vpclattice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property domainName The domain name of the service.
* @property hostedZoneId The ID of the hosted zone.
*/
public data class ServiceNetworkServiceAssociationDnsEntry(
public val domainName: String? = null,
public val hostedZoneId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.outputs.ServiceNetworkServiceAssociationDnsEntry): ServiceNetworkServiceAssociationDnsEntry = ServiceNetworkServiceAssociationDnsEntry(
domainName = javaType.domainName().map({ args0 -> args0 }).orElse(null),
hostedZoneId = javaType.hostedZoneId().map({ args0 -> args0 }).orElse(null),
)
}
}