com.pulumi.gcp.appengine.kotlin.inputs.FlexibleAppVersionAutomaticScalingRequestUtilizationArgs.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.appengine.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingRequestUtilizationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property targetConcurrentRequests Target number of concurrent requests.
* @property targetRequestCountPerSecond Target requests per second.
*/
public data class FlexibleAppVersionAutomaticScalingRequestUtilizationArgs(
public val targetConcurrentRequests: Output? = null,
public val targetRequestCountPerSecond: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingRequestUtilizationArgs =
com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingRequestUtilizationArgs.builder()
.targetConcurrentRequests(targetConcurrentRequests?.applyValue({ args0 -> args0 }))
.targetRequestCountPerSecond(targetRequestCountPerSecond?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FlexibleAppVersionAutomaticScalingRequestUtilizationArgs].
*/
@PulumiTagMarker
public class FlexibleAppVersionAutomaticScalingRequestUtilizationArgsBuilder internal constructor() {
private var targetConcurrentRequests: Output? = null
private var targetRequestCountPerSecond: Output? = null
/**
* @param value Target number of concurrent requests.
*/
@JvmName("rmoeewqpcskdhcxd")
public suspend fun targetConcurrentRequests(`value`: Output) {
this.targetConcurrentRequests = value
}
/**
* @param value Target requests per second.
*/
@JvmName("iicnpitibjwqvfdu")
public suspend fun targetRequestCountPerSecond(`value`: Output) {
this.targetRequestCountPerSecond = value
}
/**
* @param value Target number of concurrent requests.
*/
@JvmName("beiisbpfhgcynrgv")
public suspend fun targetConcurrentRequests(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.targetConcurrentRequests = mapped
}
/**
* @param value Target requests per second.
*/
@JvmName("iklywaoylclhhkas")
public suspend fun targetRequestCountPerSecond(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.targetRequestCountPerSecond = mapped
}
internal fun build(): FlexibleAppVersionAutomaticScalingRequestUtilizationArgs =
FlexibleAppVersionAutomaticScalingRequestUtilizationArgs(
targetConcurrentRequests = targetConcurrentRequests,
targetRequestCountPerSecond = targetRequestCountPerSecond,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy