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

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

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.URLMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property rangeEnd The end of the range (exclusive).
 * @property rangeStart The start of the range (inclusive).
 */
public data class URLMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs(
    public val rangeEnd: Output,
    public val rangeStart: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.URLMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs =
        com.pulumi.gcp.compute.inputs.URLMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs.builder()
            .rangeEnd(rangeEnd.applyValue({ args0 -> args0 }))
            .rangeStart(rangeStart.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [URLMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs].
 */
@PulumiTagMarker
public class URLMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgsBuilder internal constructor() {
    private var rangeEnd: Output? = null

    private var rangeStart: Output? = null

    /**
     * @param value The end of the range (exclusive).
     */
    @JvmName("cqmrprsdrtmsihaq")
    public suspend fun rangeEnd(`value`: Output) {
        this.rangeEnd = value
    }

    /**
     * @param value The start of the range (inclusive).
     */
    @JvmName("renbpythwkqtlkyr")
    public suspend fun rangeStart(`value`: Output) {
        this.rangeStart = value
    }

    /**
     * @param value The end of the range (exclusive).
     */
    @JvmName("fwgvuxhstoxlsvro")
    public suspend fun rangeEnd(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rangeEnd = mapped
    }

    /**
     * @param value The start of the range (inclusive).
     */
    @JvmName("roqigelttfflvsdn")
    public suspend fun rangeStart(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rangeStart = mapped
    }

    internal fun build(): URLMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs =
        URLMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatchArgs(
            rangeEnd = rangeEnd ?: throw PulumiNullFieldException("rangeEnd"),
            rangeStart = rangeStart ?: throw PulumiNullFieldException("rangeStart"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy