com.pulumi.alicloud.cs.kotlin.outputs.SwarmNode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-alicloud-kotlin Show documentation
Show all versions of pulumi-alicloud-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.alicloud.cs.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property eip
* @property id
* @property name
* @property privateIp
* @property status
*/
public data class SwarmNode(
public val eip: String? = null,
public val id: String? = null,
public val name: String? = null,
public val privateIp: String? = null,
public val status: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.alicloud.cs.outputs.SwarmNode): SwarmNode = SwarmNode(
eip = javaType.eip().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
privateIp = javaType.privateIp().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
)
}
}