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

com.pulumi.gcp.appengine.kotlin.inputs.FlexibleAppVersionAutomaticScalingDiskUtilizationArgs.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.FlexibleAppVersionAutomaticScalingDiskUtilizationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property targetReadBytesPerSecond Target bytes read per second.
 * @property targetReadOpsPerSecond Target ops read per seconds.
 * @property targetWriteBytesPerSecond Target bytes written per second.
 * @property targetWriteOpsPerSecond Target ops written per second.
 */
public data class FlexibleAppVersionAutomaticScalingDiskUtilizationArgs(
    public val targetReadBytesPerSecond: Output? = null,
    public val targetReadOpsPerSecond: Output? = null,
    public val targetWriteBytesPerSecond: Output? = null,
    public val targetWriteOpsPerSecond: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingDiskUtilizationArgs =
        com.pulumi.gcp.appengine.inputs.FlexibleAppVersionAutomaticScalingDiskUtilizationArgs.builder()
            .targetReadBytesPerSecond(targetReadBytesPerSecond?.applyValue({ args0 -> args0 }))
            .targetReadOpsPerSecond(targetReadOpsPerSecond?.applyValue({ args0 -> args0 }))
            .targetWriteBytesPerSecond(targetWriteBytesPerSecond?.applyValue({ args0 -> args0 }))
            .targetWriteOpsPerSecond(targetWriteOpsPerSecond?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlexibleAppVersionAutomaticScalingDiskUtilizationArgs].
 */
@PulumiTagMarker
public class FlexibleAppVersionAutomaticScalingDiskUtilizationArgsBuilder internal constructor() {
    private var targetReadBytesPerSecond: Output? = null

    private var targetReadOpsPerSecond: Output? = null

    private var targetWriteBytesPerSecond: Output? = null

    private var targetWriteOpsPerSecond: Output? = null

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

    /**
     * @param value Target ops read per seconds.
     */
    @JvmName("jaohleonooowmfrf")
    public suspend fun targetReadOpsPerSecond(`value`: Output) {
        this.targetReadOpsPerSecond = value
    }

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

    /**
     * @param value Target ops written per second.
     */
    @JvmName("lkpmmfkvsaktcfpv")
    public suspend fun targetWriteOpsPerSecond(`value`: Output) {
        this.targetWriteOpsPerSecond = value
    }

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

    /**
     * @param value Target ops read per seconds.
     */
    @JvmName("egnsyddpriqsyehv")
    public suspend fun targetReadOpsPerSecond(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetReadOpsPerSecond = mapped
    }

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

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

    internal fun build(): FlexibleAppVersionAutomaticScalingDiskUtilizationArgs =
        FlexibleAppVersionAutomaticScalingDiskUtilizationArgs(
            targetReadBytesPerSecond = targetReadBytesPerSecond,
            targetReadOpsPerSecond = targetReadOpsPerSecond,
            targetWriteBytesPerSecond = targetWriteBytesPerSecond,
            targetWriteOpsPerSecond = targetWriteOpsPerSecond,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy