com.pulumi.gcp.redis.kotlin.outputs.InstanceNode.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.redis.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property id (Output)
* Node identifying string. e.g. 'node-0', 'node-1'
* @property zone (Output)
* Location of the node.
*/
public data class InstanceNode(
public val id: String? = null,
public val zone: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.redis.outputs.InstanceNode): InstanceNode =
InstanceNode(
id = javaType.id().map({ args0 -> args0 }).orElse(null),
zone = javaType.zone().map({ args0 -> args0 }).orElse(null),
)
}
}