com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataproc.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 ClusterClusterConfigAuxiliaryNodeGroupNodeGroupArgs(
public val name: Output? = null,
public val nodeGroupConfig: Output? = null,
public val roles: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupArgs =
com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.nodeGroupConfig(nodeGroupConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.roles(roles.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ClusterClusterConfigAuxiliaryNodeGroupNodeGroupArgs].
*/
@PulumiTagMarker
public class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupArgsBuilder internal constructor() {
private var name: Output? = null
private var nodeGroupConfig:
Output? = null
private var roles: Output>? = null
/**
* @param value The Node group resource name.
*/
@JvmName("rilnhibdgawhgbey")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The node group instance group configuration.
*/
@JvmName("pxfrysutggegcybd")
public suspend fun nodeGroupConfig(`value`: Output) {
this.nodeGroupConfig = value
}
/**
* @param value Node group roles.
* One of `"DRIVER"`.
*/
@JvmName("tqdexpevqbusynro")
public suspend fun roles(`value`: Output>) {
this.roles = value
}
@JvmName("lvlaqglhbjlwroeg")
public suspend fun roles(vararg values: Output) {
this.roles = Output.all(values.asList())
}
/**
* @param values Node group roles.
* One of `"DRIVER"`.
*/
@JvmName("lyxiwnyolwhkmwhg")
public suspend fun roles(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy