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

com.pulumi.gcp.container.kotlin.inputs.ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgs.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.container.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property hugepageSize1g Amount of 1G hugepages.
 * @property hugepageSize2m Amount of 2M hugepages.
 */
public data class ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgs(
    public val hugepageSize1g: Output? = null,
    public val hugepageSize2m: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgs =
        com.pulumi.gcp.container.inputs.ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgs.builder()
            .hugepageSize1g(hugepageSize1g?.applyValue({ args0 -> args0 }))
            .hugepageSize2m(hugepageSize2m?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgs].
 */
@PulumiTagMarker
public class ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgsBuilder internal constructor() {
    private var hugepageSize1g: Output? = null

    private var hugepageSize2m: Output? = null

    /**
     * @param value Amount of 1G hugepages.
     */
    @JvmName("pdosmrygydwjkbjp")
    public suspend fun hugepageSize1g(`value`: Output) {
        this.hugepageSize1g = value
    }

    /**
     * @param value Amount of 2M hugepages.
     */
    @JvmName("cjesgmryecpsewlo")
    public suspend fun hugepageSize2m(`value`: Output) {
        this.hugepageSize2m = value
    }

    /**
     * @param value Amount of 1G hugepages.
     */
    @JvmName("ljeurjlcdldhyfba")
    public suspend fun hugepageSize1g(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hugepageSize1g = mapped
    }

    /**
     * @param value Amount of 2M hugepages.
     */
    @JvmName("rxmvosmssjadkiet")
    public suspend fun hugepageSize2m(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hugepageSize2m = mapped
    }

    internal fun build(): ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgs =
        ClusterNodeConfigLinuxNodeConfigHugepagesConfigArgs(
            hugepageSize1g = hugepageSize1g,
            hugepageSize2m = hugepageSize2m,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy