com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigAuxiliaryNodeGroupArgs.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.ClusterClusterConfigAuxiliaryNodeGroupArgs.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 nodeGroupId A node group ID. Generated if not specified. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.
* @property nodeGroups Node group configuration.
*/
public data class ClusterClusterConfigAuxiliaryNodeGroupArgs(
public val nodeGroupId: Output? = null,
public val nodeGroups: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupArgs =
com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupArgs.builder()
.nodeGroupId(nodeGroupId?.applyValue({ args0 -> args0 }))
.nodeGroups(
nodeGroups.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ClusterClusterConfigAuxiliaryNodeGroupArgs].
*/
@PulumiTagMarker
public class ClusterClusterConfigAuxiliaryNodeGroupArgsBuilder internal constructor() {
private var nodeGroupId: Output? = null
private var nodeGroups: Output>? = null
/**
* @param value A node group ID. Generated if not specified. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.
*/
@JvmName("nayojcukmdsqdefo")
public suspend fun nodeGroupId(`value`: Output) {
this.nodeGroupId = value
}
/**
* @param value Node group configuration.
*/
@JvmName("wdmbrwfvmdgxlgjd")
public suspend fun nodeGroups(`value`: Output>) {
this.nodeGroups = value
}
@JvmName("tpgymuhyksitpdad")
public suspend fun nodeGroups(vararg values: Output) {
this.nodeGroups = Output.all(values.asList())
}
/**
* @param values Node group configuration.
*/
@JvmName("sbhlpipinqjgxomc")
public suspend fun nodeGroups(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy