com.pulumi.gcp.spanner.kotlin.inputs.InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs.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.spanner.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.spanner.inputs.InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property autoscalingLimits A nested object resource.
* Structure is documented below.
*/
public data class InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs(
public val autoscalingLimits: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.spanner.inputs.InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs =
com.pulumi.gcp.spanner.inputs.InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs.builder()
.autoscalingLimits(
autoscalingLimits.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs].
*/
@PulumiTagMarker
public class InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgsBuilder internal constructor() {
private var autoscalingLimits:
Output? =
null
/**
* @param value A nested object resource.
* Structure is documented below.
*/
@JvmName("qwtnhxcxlvabtbjs")
public suspend fun autoscalingLimits(`value`: Output) {
this.autoscalingLimits = value
}
/**
* @param value A nested object resource.
* Structure is documented below.
*/
@JvmName("uhujrxqtlbvmowit")
public suspend fun autoscalingLimits(`value`: InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.autoscalingLimits = mapped
}
/**
* @param argument A nested object resource.
* Structure is documented below.
*/
@JvmName("whmvaxinmoffvpgs")
public suspend fun autoscalingLimits(argument: suspend InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgsBuilder.() -> Unit) {
val toBeMapped =
InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.autoscalingLimits = mapped
}
internal fun build(): InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs =
InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs(
autoscalingLimits = autoscalingLimits ?: throw PulumiNullFieldException("autoscalingLimits"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy