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

com.pulumi.kubernetes.node.v1beta1.kotlin.inputs.OverheadArgs.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: 4.18.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.node.v1beta1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kubernetes.node.v1beta1.inputs.OverheadArgs.builder
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Overhead structure represents the resource overhead associated with running a pod.
 * @property podFixed PodFixed represents the fixed resource overhead associated with running a pod.
 */
public data class OverheadArgs(
    public val podFixed: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.kubernetes.node.v1beta1.inputs.OverheadArgs =
        com.pulumi.kubernetes.node.v1beta1.inputs.OverheadArgs.builder()
            .podFixed(
                podFixed?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [OverheadArgs].
 */
@PulumiTagMarker
public class OverheadArgsBuilder internal constructor() {
    private var podFixed: Output>? = null

    /**
     * @param value PodFixed represents the fixed resource overhead associated with running a pod.
     */
    @JvmName("ericgcbbuloduxdq")
    public suspend fun podFixed(`value`: Output>) {
        this.podFixed = value
    }

    /**
     * @param value PodFixed represents the fixed resource overhead associated with running a pod.
     */
    @JvmName("dglydgywaxrtmmxy")
    public suspend fun podFixed(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.podFixed = mapped
    }

    /**
     * @param values PodFixed represents the fixed resource overhead associated with running a pod.
     */
    @JvmName("euqljocdndwvoccr")
    public fun podFixed(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.podFixed = mapped
    }

    internal fun build(): OverheadArgs = OverheadArgs(
        podFixed = podFixed,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy