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

com.pulumi.gcp.composer.kotlin.inputs.EnvironmentConfigWebServerConfigArgs.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.EnvironmentConfigWebServerConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property machineType Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
 */
public data class EnvironmentConfigWebServerConfigArgs(
    public val machineType: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.composer.inputs.EnvironmentConfigWebServerConfigArgs =
        com.pulumi.gcp.composer.inputs.EnvironmentConfigWebServerConfigArgs.builder()
            .machineType(machineType.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EnvironmentConfigWebServerConfigArgs].
 */
@PulumiTagMarker
public class EnvironmentConfigWebServerConfigArgsBuilder internal constructor() {
    private var machineType: Output? = null

    /**
     * @param value Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
     */
    @JvmName("xebwywnwhblmmifs")
    public suspend fun machineType(`value`: Output) {
        this.machineType = value
    }

    /**
     * @param value Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
     */
    @JvmName("qrsmrtnjqmxqlytv")
    public suspend fun machineType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.machineType = mapped
    }

    internal fun build(): EnvironmentConfigWebServerConfigArgs = EnvironmentConfigWebServerConfigArgs(
        machineType = machineType ?: throw PulumiNullFieldException("machineType"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy