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

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

package com.pulumi.gcp.composer.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.composer.inputs.EnvironmentConfigWorkloadsConfigWebServerArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property cpu CPU request and limit for Airflow web server.
 * @property memoryGb Memory (GB) request and limit for Airflow web server.
 * @property storageGb Storage (GB) request and limit for Airflow web server.
 */
public data class EnvironmentConfigWorkloadsConfigWebServerArgs(
    public val cpu: Output? = null,
    public val memoryGb: Output? = null,
    public val storageGb: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.composer.inputs.EnvironmentConfigWorkloadsConfigWebServerArgs =
        com.pulumi.gcp.composer.inputs.EnvironmentConfigWorkloadsConfigWebServerArgs.builder()
            .cpu(cpu?.applyValue({ args0 -> args0 }))
            .memoryGb(memoryGb?.applyValue({ args0 -> args0 }))
            .storageGb(storageGb?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EnvironmentConfigWorkloadsConfigWebServerArgs].
 */
@PulumiTagMarker
public class EnvironmentConfigWorkloadsConfigWebServerArgsBuilder internal constructor() {
    private var cpu: Output? = null

    private var memoryGb: Output? = null

    private var storageGb: Output? = null

    /**
     * @param value CPU request and limit for Airflow web server.
     */
    @JvmName("tjdnmootockfydwy")
    public suspend fun cpu(`value`: Output) {
        this.cpu = value
    }

    /**
     * @param value Memory (GB) request and limit for Airflow web server.
     */
    @JvmName("sopjpyvoashendmv")
    public suspend fun memoryGb(`value`: Output) {
        this.memoryGb = value
    }

    /**
     * @param value Storage (GB) request and limit for Airflow web server.
     */
    @JvmName("vlwkodsbosudghdb")
    public suspend fun storageGb(`value`: Output) {
        this.storageGb = value
    }

    /**
     * @param value CPU request and limit for Airflow web server.
     */
    @JvmName("hdmgpxoluqjcbkab")
    public suspend fun cpu(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cpu = mapped
    }

    /**
     * @param value Memory (GB) request and limit for Airflow web server.
     */
    @JvmName("kmtlfkvlsupclaxh")
    public suspend fun memoryGb(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.memoryGb = mapped
    }

    /**
     * @param value Storage (GB) request and limit for Airflow web server.
     */
    @JvmName("cueewvhbyeqxdkgy")
    public suspend fun storageGb(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageGb = mapped
    }

    internal fun build(): EnvironmentConfigWorkloadsConfigWebServerArgs =
        EnvironmentConfigWorkloadsConfigWebServerArgs(
            cpu = cpu,
            memoryGb = memoryGb,
            storageGb = storageGb,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy