All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroup.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property name The Node group resource name.
 * @property nodeGroupConfig The node group instance group configuration.
 * @property roles Node group roles.
 * One of `"DRIVER"`.
 */
public data class ClusterClusterConfigAuxiliaryNodeGroupNodeGroup(
    public val name: String? = null,
    public val nodeGroupConfig: ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig? =
        null,
    public val roles: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroup): ClusterClusterConfigAuxiliaryNodeGroupNodeGroup =
            ClusterClusterConfigAuxiliaryNodeGroupNodeGroup(
                name = javaType.name().map({ args0 -> args0 }).orElse(null),
                nodeGroupConfig = javaType.nodeGroupConfig().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                roles = javaType.roles().map({ args0 -> args0 }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy