com.pulumi.gcp.composer.kotlin.inputs.EnvironmentConfigWorkloadsConfigSchedulerArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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.EnvironmentConfigWorkloadsConfigSchedulerArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property count The number of schedulers.
* @property cpu CPU request and limit for a single Airflow scheduler replica
* @property memoryGb Memory (GB) request and limit for a single Airflow scheduler replica.
* @property storageGb Storage (GB) request and limit for a single Airflow scheduler replica.
*/
public data class EnvironmentConfigWorkloadsConfigSchedulerArgs(
public val count: Output? = null,
public val cpu: Output? = null,
public val memoryGb: Output? = null,
public val storageGb: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.composer.inputs.EnvironmentConfigWorkloadsConfigSchedulerArgs =
com.pulumi.gcp.composer.inputs.EnvironmentConfigWorkloadsConfigSchedulerArgs.builder()
.count(count?.applyValue({ args0 -> args0 }))
.cpu(cpu?.applyValue({ args0 -> args0 }))
.memoryGb(memoryGb?.applyValue({ args0 -> args0 }))
.storageGb(storageGb?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EnvironmentConfigWorkloadsConfigSchedulerArgs].
*/
@PulumiTagMarker
public class EnvironmentConfigWorkloadsConfigSchedulerArgsBuilder internal constructor() {
private var count: Output? = null
private var cpu: Output? = null
private var memoryGb: Output? = null
private var storageGb: Output? = null
/**
* @param value The number of schedulers.
*/
@JvmName("rgewetcdslhaxgih")
public suspend fun count(`value`: Output) {
this.count = value
}
/**
* @param value CPU request and limit for a single Airflow scheduler replica
*/
@JvmName("gtyofvbwvkinxuge")
public suspend fun cpu(`value`: Output) {
this.cpu = value
}
/**
* @param value Memory (GB) request and limit for a single Airflow scheduler replica.
*/
@JvmName("uvlfmknjoysoiiya")
public suspend fun memoryGb(`value`: Output) {
this.memoryGb = value
}
/**
* @param value Storage (GB) request and limit for a single Airflow scheduler replica.
*/
@JvmName("esbeyccbhaxcbwvl")
public suspend fun storageGb(`value`: Output) {
this.storageGb = value
}
/**
* @param value The number of schedulers.
*/
@JvmName("wnbfktnvhctgywib")
public suspend fun count(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.count = mapped
}
/**
* @param value CPU request and limit for a single Airflow scheduler replica
*/
@JvmName("prairqclgepgtikm")
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 a single Airflow scheduler replica.
*/
@JvmName("hsbwlifwaeumieve")
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 a single Airflow scheduler replica.
*/
@JvmName("hvyrpctacgidlevt")
public suspend fun storageGb(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageGb = mapped
}
internal fun build(): EnvironmentConfigWorkloadsConfigSchedulerArgs =
EnvironmentConfigWorkloadsConfigSchedulerArgs(
count = count,
cpu = cpu,
memoryGb = memoryGb,
storageGb = storageGb,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy