
com.pulumi.gcp.dataproc.kotlin.inputs.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataproc.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property maxScalingFactor The maximum scaling factor that the service will autoscale to. The default value is 6.0.
* @property minScalingFactor The minimum scaling factor that the service will autoscale to. The default value is 0.1.
*/
public data class MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
public val maxScalingFactor: Output? = null,
public val minScalingFactor: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs =
com.pulumi.gcp.dataproc.inputs.MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs.builder()
.maxScalingFactor(maxScalingFactor?.applyValue({ args0 -> args0 }))
.minScalingFactor(minScalingFactor?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs].
*/
@PulumiTagMarker
public class MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgsBuilder internal constructor() {
private var maxScalingFactor: Output? = null
private var minScalingFactor: Output? = null
/**
* @param value The maximum scaling factor that the service will autoscale to. The default value is 6.0.
*/
@JvmName("arjhrykvweysnpdn")
public suspend fun maxScalingFactor(`value`: Output) {
this.maxScalingFactor = value
}
/**
* @param value The minimum scaling factor that the service will autoscale to. The default value is 0.1.
*/
@JvmName("jhyoogpcpmaylqbc")
public suspend fun minScalingFactor(`value`: Output) {
this.minScalingFactor = value
}
/**
* @param value The maximum scaling factor that the service will autoscale to. The default value is 6.0.
*/
@JvmName("vkoaqjutxcwolqql")
public suspend fun maxScalingFactor(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxScalingFactor = mapped
}
/**
* @param value The minimum scaling factor that the service will autoscale to. The default value is 0.1.
*/
@JvmName("vgrqpixecuxurnfs")
public suspend fun minScalingFactor(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minScalingFactor = mapped
}
internal fun build(): MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs =
MetastoreServiceScalingConfigAutoscalingConfigLimitConfigArgs(
maxScalingFactor = maxScalingFactor,
minScalingFactor = minScalingFactor,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy