com.pulumi.azure.hdinsight.kotlin.outputs.HBaseClusterRoles.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.hdinsight.kotlin.outputs
import kotlin.Suppress
/**
*
* @property headNode A `head_node` block as defined above.
* @property workerNode A `worker_node` block as defined below.
* @property zookeeperNode A `zookeeper_node` block as defined below.
*/
public data class HBaseClusterRoles(
public val headNode: HBaseClusterRolesHeadNode,
public val workerNode: HBaseClusterRolesWorkerNode,
public val zookeeperNode: HBaseClusterRolesZookeeperNode,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.hdinsight.outputs.HBaseClusterRoles): HBaseClusterRoles = HBaseClusterRoles(
headNode = javaType.headNode().let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.HBaseClusterRolesHeadNode.Companion.toKotlin(args0)
}),
workerNode = javaType.workerNode().let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.HBaseClusterRolesWorkerNode.Companion.toKotlin(args0)
}),
zookeeperNode = javaType.zookeeperNode().let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.HBaseClusterRolesZookeeperNode.Companion.toKotlin(args0)
}),
)
}
}