com.pulumi.gcp.endpoints.kotlin.outputs.ServiceEndpoint.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.endpoints.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property address The FQDN of the endpoint as described in the config.
* @property name The simple name of the endpoint as described in the config.
*/
public data class ServiceEndpoint(
public val address: String? = null,
public val name: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.endpoints.outputs.ServiceEndpoint): ServiceEndpoint = ServiceEndpoint(
address = javaType.address().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy