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

com.pulumi.gcp.monitoring.kotlin.inputs.SloRequestBasedSliDistributionCutRangeArgs.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.monitoring.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.monitoring.inputs.SloRequestBasedSliDistributionCutRangeArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property max max value for the range (inclusive). If not given,
 * will be set to "infinity", defining an open range
 * ">= range.min"
 * @property min Min value for the range (inclusive). If not given,
 * will be set to "-infinity", defining an open range
 * "< range.max"
 */
public data class SloRequestBasedSliDistributionCutRangeArgs(
    public val max: Output? = null,
    public val min: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.monitoring.inputs.SloRequestBasedSliDistributionCutRangeArgs = com.pulumi.gcp.monitoring.inputs.SloRequestBasedSliDistributionCutRangeArgs.builder()
        .max(max?.applyValue({ args0 -> args0 }))
        .min(min?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SloRequestBasedSliDistributionCutRangeArgs].
 */
@PulumiTagMarker
public class SloRequestBasedSliDistributionCutRangeArgsBuilder internal constructor() {
    private var max: Output? = null

    private var min: Output? = null

    /**
     * @param value max value for the range (inclusive). If not given,
     * will be set to "infinity", defining an open range
     * ">= range.min"
     */
    @JvmName("crdobuepemxvjxky")
    public suspend fun max(`value`: Output) {
        this.max = value
    }

    /**
     * @param value Min value for the range (inclusive). If not given,
     * will be set to "-infinity", defining an open range
     * "< range.max"
     */
    @JvmName("sdokotilwjpuwekx")
    public suspend fun min(`value`: Output) {
        this.min = value
    }

    /**
     * @param value max value for the range (inclusive). If not given,
     * will be set to "infinity", defining an open range
     * ">= range.min"
     */
    @JvmName("umeiadrvjtyygcku")
    public suspend fun max(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.max = mapped
    }

    /**
     * @param value Min value for the range (inclusive). If not given,
     * will be set to "-infinity", defining an open range
     * "< range.max"
     */
    @JvmName("cswcbmhmralyhirh")
    public suspend fun min(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.min = mapped
    }

    internal fun build(): SloRequestBasedSliDistributionCutRangeArgs =
        SloRequestBasedSliDistributionCutRangeArgs(
            max = max,
            min = min,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy