All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.appengine.kotlin.inputs.FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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.FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property targetReceivedBytesPerSecond Target bytes received per second.
 * @property targetReceivedPacketsPerSecond Target packets received per second.
 * @property targetSentBytesPerSecond Target bytes sent per second.
 * @property targetSentPacketsPerSecond Target packets sent per second.
 */
public data class FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs(
    public val targetReceivedBytesPerSecond: Output? = null,
    public val targetReceivedPacketsPerSecond: Output? = null,
    public val targetSentBytesPerSecond: Output? = null,
    public val targetSentPacketsPerSecond: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs =
        com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs.builder()
            .targetReceivedBytesPerSecond(targetReceivedBytesPerSecond?.applyValue({ args0 -> args0 }))
            .targetReceivedPacketsPerSecond(targetReceivedPacketsPerSecond?.applyValue({ args0 -> args0 }))
            .targetSentBytesPerSecond(targetSentBytesPerSecond?.applyValue({ args0 -> args0 }))
            .targetSentPacketsPerSecond(targetSentPacketsPerSecond?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs].
 */
@PulumiTagMarker
public class FlexibleAppVersionAutomaticScalingNetworkUtilizationArgsBuilder internal constructor() {
    private var targetReceivedBytesPerSecond: Output? = null

    private var targetReceivedPacketsPerSecond: Output? = null

    private var targetSentBytesPerSecond: Output? = null

    private var targetSentPacketsPerSecond: Output? = null

    /**
     * @param value Target bytes received per second.
     */
    @JvmName("yhrtiqyuomhqplrq")
    public suspend fun targetReceivedBytesPerSecond(`value`: Output) {
        this.targetReceivedBytesPerSecond = value
    }

    /**
     * @param value Target packets received per second.
     */
    @JvmName("wlrflcjdradkrkvh")
    public suspend fun targetReceivedPacketsPerSecond(`value`: Output) {
        this.targetReceivedPacketsPerSecond = value
    }

    /**
     * @param value Target bytes sent per second.
     */
    @JvmName("lnbyjdsudajikpym")
    public suspend fun targetSentBytesPerSecond(`value`: Output) {
        this.targetSentBytesPerSecond = value
    }

    /**
     * @param value Target packets sent per second.
     */
    @JvmName("mjfpqxbaiwmjrdyq")
    public suspend fun targetSentPacketsPerSecond(`value`: Output) {
        this.targetSentPacketsPerSecond = value
    }

    /**
     * @param value Target bytes received per second.
     */
    @JvmName("rjdokdkvmyfnnyqd")
    public suspend fun targetReceivedBytesPerSecond(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetReceivedBytesPerSecond = mapped
    }

    /**
     * @param value Target packets received per second.
     */
    @JvmName("wmedvyvffakiokte")
    public suspend fun targetReceivedPacketsPerSecond(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetReceivedPacketsPerSecond = mapped
    }

    /**
     * @param value Target bytes sent per second.
     */
    @JvmName("tltdevxksvjppjnu")
    public suspend fun targetSentBytesPerSecond(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetSentBytesPerSecond = mapped
    }

    /**
     * @param value Target packets sent per second.
     */
    @JvmName("bstkecbnrvlyvecg")
    public suspend fun targetSentPacketsPerSecond(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetSentPacketsPerSecond = mapped
    }

    internal fun build(): FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs =
        FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs(
            targetReceivedBytesPerSecond = targetReceivedBytesPerSecond,
            targetReceivedPacketsPerSecond = targetReceivedPacketsPerSecond,
            targetSentBytesPerSecond = targetSentBytesPerSecond,
            targetSentPacketsPerSecond = targetSentPacketsPerSecond,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy