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

com.pulumi.gcp.dataproc.kotlin.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs.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.12.0.0
Show newest version
@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.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property maxNodeCount The maximum number of nodes in the node pool. Must be >= minNodeCount, and must be > 0.
 * @property minNodeCount The minimum number of nodes in the node pool. Must be >= 0 and <= maxNodeCount.
 */
public data class
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs(
    public val maxNodeCount: Output? = null,
    public val minNodeCount: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs =
        com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs.builder()
            .maxNodeCount(maxNodeCount?.applyValue({ args0 -> args0 }))
            .minNodeCount(minNodeCount?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs].
 */
@PulumiTagMarker
public class
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgsBuilder
internal constructor() {
    private var maxNodeCount: Output? = null

    private var minNodeCount: Output? = null

    /**
     * @param value The maximum number of nodes in the node pool. Must be >= minNodeCount, and must be > 0.
     */
    @JvmName("daemsawamiewsghm")
    public suspend fun maxNodeCount(`value`: Output) {
        this.maxNodeCount = value
    }

    /**
     * @param value The minimum number of nodes in the node pool. Must be >= 0 and <= maxNodeCount.
     */
    @JvmName("qjmkvpdbmgpjbeyc")
    public suspend fun minNodeCount(`value`: Output) {
        this.minNodeCount = value
    }

    /**
     * @param value The maximum number of nodes in the node pool. Must be >= minNodeCount, and must be > 0.
     */
    @JvmName("dhorefkmwaswoafm")
    public suspend fun maxNodeCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxNodeCount = mapped
    }

    /**
     * @param value The minimum number of nodes in the node pool. Must be >= 0 and <= maxNodeCount.
     */
    @JvmName("hgcaaqtbwkaacunb")
    public suspend fun minNodeCount(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minNodeCount = mapped
    }

    internal fun build(): ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs =
        ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigAutoscalingArgs(
            maxNodeCount = maxNodeCount,
            minNodeCount = minNodeCount,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy