com.pulumi.gcp.vertex.kotlin.inputs.AiFeatureOnlineStoreBigtableArgs.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.vertex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreBigtableArgs.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 autoScaling Autoscaling config applied to Bigtable Instance.
* Structure is documented below.
*/
public data class AiFeatureOnlineStoreBigtableArgs(
public val autoScaling: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreBigtableArgs =
com.pulumi.gcp.vertex.inputs.AiFeatureOnlineStoreBigtableArgs.builder()
.autoScaling(autoScaling.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AiFeatureOnlineStoreBigtableArgs].
*/
@PulumiTagMarker
public class AiFeatureOnlineStoreBigtableArgsBuilder internal constructor() {
private var autoScaling: Output? = null
/**
* @param value Autoscaling config applied to Bigtable Instance.
* Structure is documented below.
*/
@JvmName("jdkxptovqovuifxj")
public suspend fun autoScaling(`value`: Output) {
this.autoScaling = value
}
/**
* @param value Autoscaling config applied to Bigtable Instance.
* Structure is documented below.
*/
@JvmName("cpeohjycixfuoiru")
public suspend fun autoScaling(`value`: AiFeatureOnlineStoreBigtableAutoScalingArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.autoScaling = mapped
}
/**
* @param argument Autoscaling config applied to Bigtable Instance.
* Structure is documented below.
*/
@JvmName("ejgqapfkixcpqsmr")
public suspend fun autoScaling(argument: suspend AiFeatureOnlineStoreBigtableAutoScalingArgsBuilder.() -> Unit) {
val toBeMapped = AiFeatureOnlineStoreBigtableAutoScalingArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.autoScaling = mapped
}
internal fun build(): AiFeatureOnlineStoreBigtableArgs = AiFeatureOnlineStoreBigtableArgs(
autoScaling = autoScaling ?: throw PulumiNullFieldException("autoScaling"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy