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

com.pulumi.kubernetes.node.v1.kotlin.inputs.OverheadPatchArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.node.v1.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.v1.inputs.OverheadPatchArgs.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 OverheadPatchArgs(
    public val podFixed: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.kubernetes.node.v1.inputs.OverheadPatchArgs =
        com.pulumi.kubernetes.node.v1.inputs.OverheadPatchArgs.builder()
            .podFixed(
                podFixed?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

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

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

    /**
     * @param value podFixed represents the fixed resource overhead associated with running a pod.
     */
    @JvmName("oxhxkmkmfhdmqwgi")
    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("usuxkgdbpvgfciog")
    public fun podFixed(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.podFixed = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy