com.pulumi.gcp.endpoints.kotlin.outputs.ServiceEndpoint.kt Maven / Gradle / Ivy
@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),
)
}
}